summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commitd299dccf9188b740e4e34a6e1d8f6a8345c796fe (patch)
treed1552aedca17737ba22a9f596fcf7477380fdb7e /llvm/lib/CodeGen
parent2318d1e0e93bf6036a64142a1eb5643f1808bf53 (diff)
downloadbcm5719-llvm-d299dccf9188b740e4e34a6e1d8f6a8345c796fe.tar.gz
bcm5719-llvm-d299dccf9188b740e4e34a6e1d8f6a8345c796fe.zip
Use the local we already set up.
llvm-svn: 140745
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 2bfb529a568..2f0ba856d16 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud