summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-09 21:45:57 +0000
committerChris Lattner <sabre@nondot.org>2010-01-09 21:45:57 +0000
commitb71980f888b47d84cd229857f1910adb7cbf053b (patch)
tree46ca3de146c42b629d2de8bdfe89418b34b69b6a
parentbb8976e36e73560f0556a53ebc3fa2ff4d2449f1 (diff)
downloadbcm5719-llvm-b71980f888b47d84cd229857f1910adb7cbf053b.tar.gz
bcm5719-llvm-b71980f888b47d84cd229857f1910adb7cbf053b.zip
revert 91891, a workaround for PR5514.
llvm-svn: 93077
-rw-r--r--clang/lib/Frontend/RewriteObjC.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Frontend/RewriteObjC.cpp b/clang/lib/Frontend/RewriteObjC.cpp
index ee803a33e3a..a75835edc9a 100644
--- a/clang/lib/Frontend/RewriteObjC.cpp
+++ b/clang/lib/Frontend/RewriteObjC.cpp
@@ -4765,8 +4765,7 @@ Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) {
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();
OpenPOWER on IntegriCloud