From 1a92b70b61f43d59a8fa4c17808de5cab36f95e9 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Mon, 13 Jan 2014 21:24:22 +0000 Subject: 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 --- lib/CodeGen/CGExprAgg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/CGExprAgg.cpp') diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index 1a6274e828..3395bd7d33 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -903,7 +903,7 @@ VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { CGF.EmitBlock(LHSBlock); Cnt.beginRegion(Builder); Visit(E->getTrueExpr()); - Cnt.adjustFallThroughCount(); + Cnt.adjustForControlFlow(); eval.end(CGF); assert(CGF.HaveInsertPoint() && "expression evaluation ended with no IP!"); @@ -919,7 +919,7 @@ VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { CGF.EmitBlock(RHSBlock); Cnt.beginElseRegion(); Visit(E->getFalseExpr()); - Cnt.adjustFallThroughCount(); + Cnt.adjustForControlFlow(); eval.end(CGF); CGF.EmitBlock(ContBlock); -- cgit v1.2.3