summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar akashlal <unknown>2011-11-24 14:14:19 +0530
committerGravatar akashlal <unknown>2011-11-24 14:14:19 +0530
commit19ce26677bba57940e3b41eba7d6dc4f0627e84c (patch)
tree00ecd69221cd842f9c360f3e670e0ada06d0622d
parent32fb2ff898e7f49ab7f76f4c650c0242c5f30f59 (diff)
minor bug fix in SI
-rw-r--r--Source/VCGeneration/StratifiedVC.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs
index e6e6eb39..df46ad50 100644
--- a/Source/VCGeneration/StratifiedVC.cs
+++ b/Source/VCGeneration/StratifiedVC.cs
@@ -2483,7 +2483,7 @@ namespace VC
calls.setCurrProc(procName);
expansion = calls.Mutate(expansion, true);
if (useSummary) calls.matchSummaries();
- vState.coverageManager.addRecentEdges(id);
+ if(vState.coverageManager != null) vState.coverageManager.addRecentEdges(id);
//expansion = checker.VCExprGen.Eq(calls.id2ControlVar[id], expansion);
expansion = checker.VCExprGen.Implies(calls.id2ControlVar[id], expansion);