This call looks like it was an artifact of an earlier change, and
doesn't actually make sense. We begin a new region immediately anyway,
so it was mostly harmless.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199137
91177308-0d34-0410-b5e6-
96231b3b80d8
const SwitchCase *Case = 0;
if (FindCaseStatementsForValue(S, ConstantCondValue, CaseStmts,
getContext(), Case)) {
- PGO.setCurrentRegionCount(0);
if (Case) {
RegionCounter CaseCnt = getPGORegionCounter(Case);
CaseCnt.beginRegion(Builder);