diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
commit | 60635e39b669713fe8d7b40bf8b4b10fb7fb34d6 (patch) | |
tree | a0a124c763e644d915844e862e6216375674137f /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | dadc2b627d834acda6def76209db2c2001a079a9 (diff) | |
download | bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.tar.gz bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.zip |
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`.
Part of PR23080.
llvm-svn: 235404
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 49ea4b4b5a3..746a9efaa4d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -4463,8 +4463,7 @@ bool SelectionDAGBuilder::EmitFuncArgumentDbgValue( // Ignore inlined function arguments here. // // FIXME: Should we be checking DL->inlinedAt() to determine this? - DIVariable DV(Variable); - if (!DV->getScope()->getSubprogram()->describes(MF.getFunction())) + if (!Variable->getScope()->getSubprogram()->describes(MF.getFunction())) return false; Optional<MachineOperand> Op; @@ -4672,9 +4671,8 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) { if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address)) Address = BCI->getOperand(0); // Parameters are handled specially. - bool isParameter = - (DIVariable(Variable)->getTag() == dwarf::DW_TAG_arg_variable || - isa<Argument>(Address)); + bool isParameter = Variable->getTag() == dwarf::DW_TAG_arg_variable || + isa<Argument>(Address); const AllocaInst *AI = dyn_cast<AllocaInst>(Address); |