diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-17 02:42:45 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-17 02:42:45 +0000 |
commit | 752d6df22ddb8c16d52989dee167d28ea00b798f (patch) | |
tree | e519ba379862e44352aae0b26ad7c8e820485932 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | 55db07016eac1ac4e6407fba2992eae895e25f2d (diff) | |
download | bcm5719-llvm-752d6df22ddb8c16d52989dee167d28ea00b798f.tar.gz bcm5719-llvm-752d6df22ddb8c16d52989dee167d28ea00b798f.zip |
AsmPrinter: Use DIExpression default constructor, NFC
llvm-svn: 229464
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 6a8c9b5e43f..81f2329657b 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -701,7 +701,7 @@ void DwarfCompileUnit::collectDeadVariables(DISubprogram SP) { for (unsigned vi = 0, ve = Variables.getNumElements(); vi != ve; ++vi) { DIVariable DV(Variables.getElement(vi)); assert(DV.isVariable()); - DbgVariable NewVar(DV, DIExpression(nullptr), DD); + DbgVariable NewVar(DV, DIExpression(), DD); auto VariableDie = constructVariableDIE(NewVar); applyVariableAttributes(NewVar, *VariableDie); SPDIE->addChild(std::move(VariableDie)); |