diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-01-13 21:24:22 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-01-13 21:24:22 +0000 |
| commit | 1a92b70b61f43d59a8fa4c17808de5cab36f95e9 (patch) | |
| tree | 655d6aa288e0bbdc51edcb7758f45d162751beaf /lib/CodeGen/CodeGenFunction.cpp | |
| parent | d1361b32e7934a5cfaffffa2bad75c25bba08e88 (diff) | |
| download | clang-1a92b70b61f43d59a8fa4c17808de5cab36f95e9.tar.gz clang-1a92b70b61f43d59a8fa4c17808de5cab36f95e9.tar.bz2 clang-1a92b70b61f43d59a8fa4c17808de5cab36f95e9.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 564ea11a8f..a6ed8cb47e 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/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; |
