summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-29 00:50:59 +0000
committerEric Christopher <echristo@apple.com>2011-09-29 00:50:59 +0000
commit12eb3ad5d6b7dea67ef5aa3b0618d95acf3f8acd (patch)
tree8ba88db50fcf520f72615d4c831e20af01783b1d /lib
parent3627a462938c92c00053a24828b35da5195d0d68 (diff)
downloadllvm-12eb3ad5d6b7dea67ef5aa3b0618d95acf3f8acd.tar.gz
llvm-12eb3ad5d6b7dea67ef5aa3b0618d95acf3f8acd.tar.bz2
llvm-12eb3ad5d6b7dea67ef5aa3b0618d95acf3f8acd.tar.xz
Use the local we already set up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 2bfb529a56..2f0ba856d1 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -4535,7 +4535,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
const DbgDeclareInst &DI = cast<DbgDeclareInst>(I);
MDNode *Variable = DI.getVariable();
const Value *Address = DI.getAddress();
- if (!Address || !DIVariable(DI.getVariable()).Verify())
+ if (!Address || !DIVariable(Variable).Verify())
return 0;
// Build an entry in DbgOrdering. Debug info input nodes get an SDNodeOrder