Skip to content
Snippets Groups Projects
Commit a47c5ddb authored by Vedant Kumar's avatar Vedant Kumar
Browse files

[Coverage] Remove redundant handleFileExit() call (NFC)

I added this call in r271308. It's redundant because it's dominated by a
call to extendRegion().

Thanks to Justin Bogner for pointing this out!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271331 91177308-0d34-0410-b5e6-96231b3b80d8
parent cda11ded
No related branches found
No related tags found
No related merge requests found
...@@ -783,10 +783,8 @@ struct CounterCoverageMappingBuilder ...@@ -783,10 +783,8 @@ struct CounterCoverageMappingBuilder
Visit(Child); Visit(Child);
popRegions(Index); popRegions(Index);
} }
} else { } else
handleFileExit(getStart(Body));
propagateCounts(Counter::getZero(), Body); propagateCounts(Counter::getZero(), Body);
}
BreakContinue BC = BreakContinueStack.pop_back_val(); BreakContinue BC = BreakContinueStack.pop_back_val();
if (!BreakContinueStack.empty()) if (!BreakContinueStack.empty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment