summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/Context.cs
diff options
context:
space:
mode:
authorGravatar Ken McMillan <unknown>2013-11-11 15:06:08 -0800
committerGravatar Ken McMillan <unknown>2013-11-11 15:06:08 -0800
commit479fe0571200196552e3d415ab3b90e30083b1b2 (patch)
treeecc2fbc7fd64268b21493d7feb3218547767355f /Source/VCGeneration/Context.cs
parent334d29e2e34647caa2defd9cd0d329e1e9f0dfd3 (diff)
Fixedpoint VC catch up with recent changes
Diffstat (limited to 'Source/VCGeneration/Context.cs')
-rw-r--r--Source/VCGeneration/Context.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/VCGeneration/Context.cs b/Source/VCGeneration/Context.cs
index 7931a042..83787dc5 100644
--- a/Source/VCGeneration/Context.cs
+++ b/Source/VCGeneration/Context.cs
@@ -35,6 +35,7 @@ namespace Microsoft.Boogie
public abstract VCGenerationOptions VCGenOptions { get; }
public abstract object Clone();
public abstract void Reset();
+ public abstract void Clear();
}
[ContractClassFor(typeof(ProverContext))]
@@ -128,6 +129,12 @@ public abstract class ProverContextContracts:ProverContext{
axiomConjuncts = new List<VCExpr>();
}
+ public override void Clear()
+ {
+ distincts = new List<Variable>();
+ axiomConjuncts = new List<VCExpr>();
+ }
+
protected DeclFreeProverContext(DeclFreeProverContext ctxt) {
Contract.Requires(ctxt != null);
this.gen = ctxt.gen;