Use the local we already set up.

llvm-svn: 140745
This commit is contained in:
Eric Christopher 2011-09-29 00:50:59 +00:00
parent 2318d1e0e9
commit d299dccf91
1 changed files with 1 additions and 1 deletions

View File

@ -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