mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-28 15:38:57 +00:00
Feedback on r214189, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b140034aeb
commit
70626f555c
@ -473,7 +473,7 @@ DIE *DwarfDebug::createScopeChildrenDIE(
|
|||||||
// If we have more than one elements and the last one is null, it is a
|
// If we have more than one elements and the last one is null, it is a
|
||||||
// variadic function.
|
// variadic function.
|
||||||
if (FnArgs.getNumElements() > 1 &&
|
if (FnArgs.getNumElements() > 1 &&
|
||||||
!resolve(FnArgs.getElement(FnArgs.getNumElements() - 1)))
|
!FnArgs.getElement(FnArgs.getNumElements() - 1))
|
||||||
Children.push_back(
|
Children.push_back(
|
||||||
make_unique<DIE>(dwarf::DW_TAG_unspecified_parameters));
|
make_unique<DIE>(dwarf::DW_TAG_unspecified_parameters));
|
||||||
}
|
}
|
||||||
|
@ -1168,7 +1168,7 @@ void DwarfUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
|||||||
|
|
||||||
bool isPrototyped = true;
|
bool isPrototyped = true;
|
||||||
if (Elements.getNumElements() == 2 &&
|
if (Elements.getNumElements() == 2 &&
|
||||||
!resolve(Elements.getElement(1)))
|
!Elements.getElement(1))
|
||||||
isPrototyped = false;
|
isPrototyped = false;
|
||||||
|
|
||||||
constructSubprogramArguments(Buffer, Elements);
|
constructSubprogramArguments(Buffer, Elements);
|
||||||
|
@ -876,7 +876,7 @@ void DIBuilder::retainType(DIType T) {
|
|||||||
/// createUnspecifiedParameter - Create unspeicified type descriptor
|
/// createUnspecifiedParameter - Create unspeicified type descriptor
|
||||||
/// for the subroutine type.
|
/// for the subroutine type.
|
||||||
DIBasicType DIBuilder::createUnspecifiedParameter() {
|
DIBasicType DIBuilder::createUnspecifiedParameter() {
|
||||||
return DIBasicType(nullptr);
|
return DIBasicType();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// createForwardDecl - Create a temporary forward-declared type that
|
/// createForwardDecl - Create a temporary forward-declared type that
|
||||||
|
Loading…
x
Reference in New Issue
Block a user