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:
2b409b6
)
Remove unused variable to get rid of warning.
author
Craig Topper
<craig.topper@gmail.com>
Wed, 9 May 2012 07:08:58 +0000
(07:08 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Wed, 9 May 2012 07:08:58 +0000
(07:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156466
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ObjCARC.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ObjCARC.cpp
b/lib/Transforms/Scalar/ObjCARC.cpp
index
8f8c0e8
..
5d6e1a7
100644
(file)
--- a/
lib/Transforms/Scalar/ObjCARC.cpp
+++ b/
lib/Transforms/Scalar/ObjCARC.cpp
@@
-3902,7
+3902,7
@@
void ObjCARCContract::ContractRelease(Instruction *Release,
if (Load->getParent() != BB) return;
// Walk down to find the store and the release, which may be in either order.
- BasicBlock::iterator I = Load
, End = BB->end()
;
+ BasicBlock::iterator I = Load;
++I;
AliasAnalysis::Location Loc = AA->getLocation(Load);
StoreInst *Store = 0;