mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove unnecessary temporary construction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fbf70b383d
commit
17a88a7e8b
@ -1247,7 +1247,7 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
addFlag(&Buffer, dwarf::DW_AT_APPLE_block);
|
||||
|
||||
DICompositeType ContainingType(resolve(CTy.getContainingType()));
|
||||
if (DIDescriptor(ContainingType).isCompositeType())
|
||||
if (ContainingType.isCompositeType())
|
||||
addDIEEntry(&Buffer, dwarf::DW_AT_containing_type,
|
||||
getOrCreateTypeDIE(DIType(ContainingType)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user