From: Chris Lattner Date: Sat, 9 Jan 2010 21:45:57 +0000 (+0000) Subject: revert 91891, a workaround for PR5514. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4824fcdf37139efa57466a2a5753dd6e5e792ef8;p=clang revert 91891, a workaround for PR5514. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93077 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/RewriteObjC.cpp b/lib/Frontend/RewriteObjC.cpp index ee803a33e3..a75835edc9 100644 --- a/lib/Frontend/RewriteObjC.cpp +++ b/lib/Frontend/RewriteObjC.cpp @@ -4765,8 +4765,7 @@ Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) { Stmts.push_back(S); else if (isa(S)) { Stmts.push_back(S); - ++BcLabelCount; - ObjCBcLabelNo.push_back(BcLabelCount); + ObjCBcLabelNo.push_back(++BcLabelCount); } SourceRange OrigStmtRange = S->getSourceRange();