summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-01-13 21:24:22 +0000
committerJustin Bogner <mail@justinbogner.com>2014-01-13 21:24:22 +0000
commit0718a3a42004047fa034c31bc7b0b72e2fc24888 (patch)
treefd9ff863545d93ba56decb3f5c27e0c52d5f6674 /clang/lib/CodeGen/CodeGenFunction.cpp
parent06bd6d04e05ee77710707ca777cbf25da4c414f5 (diff)
downloadbcm5719-llvm-0718a3a42004047fa034c31bc7b0b72e2fc24888.tar.gz
bcm5719-llvm-0718a3a42004047fa034c31bc7b0b72e2fc24888.zip
CodeGen: Rename adjustFallThroughCount -> adjustForControlFlow
adjustFallThroughCount isn't a good name, and the documentation was even worse. This commit attempts to clarify what it's for and when to use it. llvm-svn: 199139
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 564ea11a8f8..a6ed8cb47e3 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -928,7 +928,7 @@ void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
eval.begin(*this);
EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount);
eval.end(*this);
- Cnt.adjustFallThroughCount();
+ Cnt.adjustForControlFlow();
Cnt.applyAdjustmentsToRegion();
return;
@@ -974,7 +974,7 @@ void CodeGenFunction::EmitBranchOnBoolExpr(const Expr *Cond,
EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, RHSCount);
eval.end(*this);
- Cnt.adjustFallThroughCount();
+ Cnt.adjustForControlFlow();
Cnt.applyAdjustmentsToRegion();
return;
OpenPOWER on IntegriCloud