summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-05-03 01:42:35 +0000
committerAdrian Prantl <aprantl@apple.com>2013-05-03 01:42:35 +0000
commit857f92371a62989013599c7051c6e131cddcbd45 (patch)
tree21fcc892993423690c7d2a13381d9fb5983420b7 /clang/lib/CodeGen/CGStmt.cpp
parent0faf3311fa441170bbeb3ea2799b6f3792eb5e6c (diff)
downloadbcm5719-llvm-857f92371a62989013599c7051c6e131cddcbd45.tar.gz
bcm5719-llvm-857f92371a62989013599c7051c6e131cddcbd45.zip
Revert "Attempt to un-break the gdb buildbot."
This reverts commit 180982. llvm-svn: 180990
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index 5e2ebe0d9cd..73f66e0c8c7 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud