mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Collapse temporary variable into call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186295 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c7c4a7867c
commit
010dbfdf93
@ -1026,10 +1026,8 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
if (DIDescriptor(ContainingType).isCompositeType())
|
||||
addDIEEntry(&Buffer, dwarf::DW_AT_containing_type, dwarf::DW_FORM_ref4,
|
||||
getOrCreateTypeDIE(DIType(ContainingType)));
|
||||
else {
|
||||
DIDescriptor Context = CTy.getContext();
|
||||
addToContextOwner(&Buffer, Context);
|
||||
}
|
||||
else
|
||||
addToContextOwner(&Buffer, CTy.getContext());
|
||||
|
||||
if (CTy.isObjcClassComplete())
|
||||
addFlag(&Buffer, dwarf::DW_AT_APPLE_objc_complete_type);
|
||||
|
Loading…
Reference in New Issue
Block a user