OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90a2aec
)
Address Pete's review comment and define OrigArg on its own line.
author
Akira Hatanaka
<ahatanaka@apple.com>
Tue, 13 Sep 2016 23:53:43 +0000
(23:53 +0000)
committer
Akira Hatanaka
<ahatanaka@apple.com>
Tue, 13 Sep 2016 23:53:43 +0000
(23:53 +0000)
This is a follow-up to r281419.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281421
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/ObjCARC/ObjCARCContract.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/ObjCARC/ObjCARCContract.cpp
b/lib/Transforms/ObjCARC/ObjCARCContract.cpp
index
c2cc236
..
23c1f59
100644
(file)
--- a/
lib/Transforms/ObjCARC/ObjCARCContract.cpp
+++ b/
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 (;;) {