diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-11-17 21:59:31 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-11-17 21:59:31 +0000 |
commit | 17a88a7e8b8ad2f0766c4099d09cd29229296352 (patch) | |
tree | 8e42b823e276ba84de686c030b61fc9c499f4062 /lib/CodeGen | |
parent | fbf70b383d170e00d5104b22f1bda604214d6c30 (diff) | |
download | external_llvm-17a88a7e8b8ad2f0766c4099d09cd29229296352.zip external_llvm-17a88a7e8b8ad2f0766c4099d09cd29229296352.tar.gz external_llvm-17a88a7e8b8ad2f0766c4099d09cd29229296352.tar.bz2 |
Remove unnecessary temporary construction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 14cf245..db77a3f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -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))); |