projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added debug message in ObjCARC when we remove a no-op cast which has only special...
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
ObjCARC.cpp
diff --git
a/lib/Transforms/Scalar/ObjCARC.cpp
b/lib/Transforms/Scalar/ObjCARC.cpp
index a17ff50c04696ff40f8959b05f2d2651a26792ad..e68f2add73b856247c771a1c01f417a3b6254443 100644
(file)
--- a/
lib/Transforms/Scalar/ObjCARC.cpp
+++ b/
lib/Transforms/Scalar/ObjCARC.cpp
@@
-2343,6
+2343,8
@@
void ObjCARCOpt::OptimizeIndividualCalls(Function &F) {
case IC_NoopCast:
Changed = true;
++NumNoops;
+ DEBUG(dbgs() << "ObjCARCOpt::OptimizeIndividualCalls: Erasing no-op cast:"
+ " " << *Inst << "\n");
EraseInstruction(Inst);
continue;