summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/VC.cs
diff options
context:
space:
mode:
authorGravatar Pantazis Deligiannis <pdeligia@me.com>2013-09-30 09:59:01 +0100
committerGravatar Pantazis Deligiannis <pdeligia@me.com>2013-09-30 09:59:01 +0100
commit06771adc7acf710f055bfeeedc2c604c75ce945b (patch)
tree726cfd8957abcbfffcb3e76f7625bacb1d21a7d2 /Source/VCGeneration/VC.cs
parent0b4388429f5eb571fce4b1aff508be891ad75b87 (diff)
changes to support a configured errorLimit
Diffstat (limited to 'Source/VCGeneration/VC.cs')
-rw-r--r--Source/VCGeneration/VC.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs
index 5880eb16..e02f96d5 100644
--- a/Source/VCGeneration/VC.cs
+++ b/Source/VCGeneration/VC.cs
@@ -1875,7 +1875,7 @@ namespace VC {
}
}
- public void ConvertCFG2DAG(Implementation impl, Dictionary<Block,List<Block>> edgesCut = null, int threadID = -1)
+ public void ConvertCFG2DAG(Implementation impl, Dictionary<Block,List<Block>> edgesCut = null, int taskID = -1)
{
Contract.Requires(impl != null);
impl.PruneUnreachableBlocks(); // This is needed for VCVariety.BlockNested, and is otherwise just an optimization
@@ -1946,7 +1946,7 @@ namespace VC {
prefixOfPredicateCmdsInit.Add(b);
if (CommandLineOptions.Clo.ConcurrentHoudini) {
- if (CommandLineOptions.Clo.Cho[threadID].DisableLoopInvMaintainedAssert)
+ if (CommandLineOptions.Clo.Cho[taskID].DisableLoopInvMaintainedAssert)
b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, Expr.True);
else
b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, c.Expr);
@@ -1954,13 +1954,6 @@ namespace VC {
b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, c.Expr);
}
- if (threadID >= 0 && CommandLineOptions.Clo.DisableLoopInvMaintainedAssert)
-
- if (CommandLineOptions.Clo.DisableLoopInvMaintainedAssert)
- b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, Expr.True);
- else
- b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, c.Expr);
-
b.Attributes = c.Attributes;
b.ErrorData = c.ErrorData;
prefixOfPredicateCmdsMaintained.Add(b);