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
This commit is contained in:
Justin Bogner
2014-01-13 21:24:22 +00:00
parent 06bd6d04e0
commit 0718a3a420
7 changed files with 24 additions and 24 deletions

View File

@@ -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;