summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/StratifiedVC.cs
diff options
context:
space:
mode:
authorGravatar Ally Donaldson <unknown>2013-07-22 22:51:04 +0100
committerGravatar Ally Donaldson <unknown>2013-07-22 22:51:04 +0100
commit07e15dce2315f99bcbc7b3aa558653feec9de906 (patch)
tree0dc266c3c2cef8ff33764401fb33b6540ee54ffa /Source/VCGeneration/StratifiedVC.cs
parent793c0c0ded44401a1d6ef1bf494dd0a3d0b8dc43 (diff)
ExprSeq: farewell
Diffstat (limited to 'Source/VCGeneration/StratifiedVC.cs')
-rw-r--r--Source/VCGeneration/StratifiedVC.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs
index ef2cd1d1..7f5b3779 100644
--- a/Source/VCGeneration/StratifiedVC.cs
+++ b/Source/VCGeneration/StratifiedVC.cs
@@ -213,7 +213,7 @@ namespace VC {
function = new Function(Token.NoToken, impl.Name, functionInterfaceVars, returnVar);
vcgen.prover.Context.DeclareFunction(function, "");
- ExprSeq exprs = new ExprSeq();
+ List<Expr> exprs = new List<Expr>();
foreach (Variable v in vcgen.program.GlobalVariables()) {
Contract.Assert(v != null);
exprs.Add(new OldExpr(Token.NoToken, new IdentifierExpr(Token.NoToken, v)));
@@ -343,7 +343,7 @@ namespace VC {
var recordFunc = new Function(Token.NoToken, proc.Name, ins, returnVar);
prover.Context.DeclareFunction(recordFunc, "");
- var exprs = new ExprSeq();
+ var exprs = new List<Expr>();
exprs.Add(new IdentifierExpr(Token.NoToken, proc.InParams[0]));
Expr freePostExpr = new NAryExpr(Token.NoToken, new FunctionCall(recordFunc), exprs);