diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-05-03 01:42:35 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-05-03 01:42:35 +0000 |
commit | bb09f7b1d9312471b701f2683a9d955b4e954630 (patch) | |
tree | 9bef15edbeaaaf02dda5055d42af83c92147ed53 /lib/CodeGen/CGStmt.cpp | |
parent | e19229be18725bd856410b478c0e63d81ab8e4f5 (diff) |
Revert "Attempt to un-break the gdb buildbot."
This reverts commit 180982.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 5e2ebe0d9c..73f66e0c8c 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -38,8 +38,8 @@ void CodeGenFunction::EmitStopPoint(const Stmt *S) { Loc = S->getLocStart(); DI->EmitLocation(Builder, Loc); - //if (++NumStopPoints == 1) - LastStopPoint = Loc; + if (++NumStopPoints == 1) + FirstStopPoint = Loc; } } @@ -842,9 +842,8 @@ void CodeGenFunction::EmitReturnStmt(const ReturnStmt &S) { } } - NumReturnExprs += 1; if (RV == 0 || RV->isEvaluatable(getContext())) - NumSimpleReturnExprs += 1; + ++NumSimpleReturnExprs; cleanupScope.ForceCleanup(); EmitBranchThroughCleanup(ReturnBlock); |