summaryrefslogtreecommitdiff
path: root/Source/Provers/Simplify/ProverInterface.cs
diff options
context:
space:
mode:
authorGravatar Unknown <akashl@MSRI-Akashlal.fareast.corp.microsoft.com>2011-06-25 17:23:28 +0530
committerGravatar Unknown <akashl@MSRI-Akashlal.fareast.corp.microsoft.com>2011-06-25 17:23:28 +0530
commit3f4c65b26ce7771eeb1ef738eb65ef63be62a617 (patch)
treec71ebbf68a3dcbcdf3112dd9cf7bbb05d31555b2 /Source/Provers/Simplify/ProverInterface.cs
parent94bdde55d8922e2e76fe8d7dd6d871a42d5f229b (diff)
Avoid restarting the theorem prover for stratified inlining because it
can lose context. Added a cache for FindLeastToVerify
Diffstat (limited to 'Source/Provers/Simplify/ProverInterface.cs')
-rw-r--r--Source/Provers/Simplify/ProverInterface.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Provers/Simplify/ProverInterface.cs b/Source/Provers/Simplify/ProverInterface.cs
index 68c02c5d..95d8950a 100644
--- a/Source/Provers/Simplify/ProverInterface.cs
+++ b/Source/Provers/Simplify/ProverInterface.cs
@@ -511,7 +511,13 @@ namespace Microsoft.Boogie.Simplify {
thmProver = null;
currentProverHasBeenABadBoy = false;
restarts++;
+
+ if (CommandLineOptions.Clo.StratifiedInlining > 0)
+ {
+ Console.WriteLine("Warning: restarting theorem prover. Context could be lost");
+ }
}
+
FireUpNewProver();
}
cce.EndExpose();