IdempotentOperationChecker: don't repeatedly recompute block reachability.

llvm-svn: 125548
This commit is contained in:
Ted Kremenek 2011-02-15 02:20:03 +00:00
parent 8d53ac81ec
commit 4ea9004fe8
1 changed files with 3 additions and 2 deletions

View File

@ -564,6 +564,7 @@ IdempotentOperationChecker::pathWasCompletelyAnalyzed(const CFG *cfg,
const CFGStmtMap *CBM,
const CoreEngine &CE) {
if (!CRA.get())
CRA.reset(new CFGReachabilityAnalysis(*cfg));
// Test for reachability from any aborted blocks to this block