[cfe-commits] r93077 - /cfe/trunk/lib/Frontend/RewriteObjC.cpp
Chris Lattner
sabre at nondot.org
Sat Jan 9 13:45:58 PST 2010
Author: lattner
Date: Sat Jan 9 15:45:57 2010
New Revision: 93077
URL: http://llvm.org/viewvc/llvm-project?rev=93077&view=rev
Log:
revert 91891, a workaround for PR5514.
Modified:
cfe/trunk/lib/Frontend/RewriteObjC.cpp
Modified: cfe/trunk/lib/Frontend/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/RewriteObjC.cpp?rev=93077&r1=93076&r2=93077&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Frontend/RewriteObjC.cpp Sat Jan 9 15:45:57 2010
@@ -4765,8 +4765,7 @@
Stmts.push_back(S);
else if (isa<ObjCForCollectionStmt>(S)) {
Stmts.push_back(S);
- ++BcLabelCount;
- ObjCBcLabelNo.push_back(BcLabelCount);
+ ObjCBcLabelNo.push_back(++BcLabelCount);
}
SourceRange OrigStmtRange = S->getSourceRange();
More information about the cfe-commits
mailing list