summaryrefslogtreecommitdiff
path: root/Source/VCGeneration
diff options
context:
space:
mode:
authorGravatar akashlal <unknown>2010-09-05 15:31:56 +0000
committerGravatar akashlal <unknown>2010-09-05 15:31:56 +0000
commit34b52bfc6d4e62a7e8f8c71839952a386b372de2 (patch)
treea358a91917e943cba937973f4175403ff34f4071 /Source/VCGeneration
parent07f7c5bd1600d1fbe90eba8f8f150fe526626568 (diff)
Added a new VC.ConditionGeneration.Outcome: StratifiedInlining can signal that it has reached the recursion bound.
Diffstat (limited to 'Source/VCGeneration')
-rw-r--r--Source/VCGeneration/ConditionGeneration.cs3
-rw-r--r--Source/VCGeneration/VC.cs9
2 files changed, 7 insertions, 5 deletions
diff --git a/Source/VCGeneration/ConditionGeneration.cs b/Source/VCGeneration/ConditionGeneration.cs
index c7761a37..dc13725f 100644
--- a/Source/VCGeneration/ConditionGeneration.cs
+++ b/Source/VCGeneration/ConditionGeneration.cs
@@ -360,7 +360,8 @@ namespace VC {
Errors,
TimedOut,
OutOfMemory,
- Inconclusive
+ Inconclusive,
+ ReachedBound
}
[ContractInvariantMethod]
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs
index 23b75bbf..8a7edc75 100644
--- a/Source/VCGeneration/VC.cs
+++ b/Source/VCGeneration/VC.cs
@@ -2198,10 +2198,6 @@ namespace VC {
checker.TheoremProver.Pop();
}
- if (!done)
- {
- return Outcome.TimedOut;
- }
#region Coverage reporter
if (CommandLineOptions.Clo.CoverageReporterPath == "Console")
@@ -2223,6 +2219,11 @@ namespace VC {
}
#endregion
+ if (!done)
+ {
+ return Outcome.ReachedBound;
+ }
+
return ret;
}