diff options
author | Unknown <akashl@MSRI-Akashlal.fareast.corp.microsoft.com> | 2011-06-25 17:23:28 +0530 |
---|---|---|
committer | Unknown <akashl@MSRI-Akashlal.fareast.corp.microsoft.com> | 2011-06-25 17:23:28 +0530 |
commit | 3f4c65b26ce7771eeb1ef738eb65ef63be62a617 (patch) | |
tree | c71ebbf68a3dcbcdf3112dd9cf7bbb05d31555b2 /Source/Provers/Simplify/ProverInterface.cs | |
parent | 94bdde55d8922e2e76fe8d7dd6d871a42d5f229b (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.cs | 6 |
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();
|