summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
index c2cc236493b..23c1f5990ba 100644
--- a/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
+++ b/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
@@ -601,7 +601,8 @@ bool ObjCARCContract::runOnFunction(Function &F) {
};
- Value *Arg = cast<CallInst>(Inst)->getArgOperand(0), *OrigArg = Arg;
+ Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
+ Value *OrigArg = Arg;
// TODO: Change this to a do-while.
for (;;) {
OpenPOWER on IntegriCloud