forked from OSchip/llvm-project
[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! llvm-svn: 271331
This commit is contained in:
parent
1d72b89580
commit
87ea3b05b9
|
@ -783,10 +783,8 @@ struct CounterCoverageMappingBuilder
|
|||
Visit(Child);
|
||||
popRegions(Index);
|
||||
}
|
||||
} else {
|
||||
handleFileExit(getStart(Body));
|
||||
} else
|
||||
propagateCounts(Counter::getZero(), Body);
|
||||
}
|
||||
BreakContinue BC = BreakContinueStack.pop_back_val();
|
||||
|
||||
if (!BreakContinueStack.empty())
|
||||
|
|
Loading…
Reference in New Issue