summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/StratifiedVC.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-09-23 14:30:50 +0200
committerGravatar wuestholz <unknown>2014-09-23 14:30:50 +0200
commitadfed676d8b9fddcc85fabf98b8f602ab76f5dc7 (patch)
tree35435fadd1c2aa7cf6f0b0b46914844f4a600556 /Source/VCGeneration/StratifiedVC.cs
parent8bb1e486770ccc399c86c713b7808b0dee5971d5 (diff)
Did more refactoring and addressed several todos.
Diffstat (limited to 'Source/VCGeneration/StratifiedVC.cs')
-rw-r--r--Source/VCGeneration/StratifiedVC.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs
index 5eed14fd..a9745b3c 100644
--- a/Source/VCGeneration/StratifiedVC.cs
+++ b/Source/VCGeneration/StratifiedVC.cs
@@ -210,7 +210,7 @@ namespace VC {
impl = implementation;
List<Variable> functionInterfaceVars = new List<Variable>();
- foreach (Variable v in vcgen.program.GlobalVariables()) {
+ foreach (Variable v in vcgen.program.GlobalVariables) {
functionInterfaceVars.Add(new Formal(Token.NoToken, new TypedIdent(Token.NoToken, "", v.TypedIdent.Type), true));
}
foreach (Variable v in impl.InParams) {
@@ -228,7 +228,7 @@ namespace VC {
vcgen.prover.Context.DeclareFunction(function, "");
List<Expr> exprs = new List<Expr>();
- foreach (Variable v in vcgen.program.GlobalVariables()) {
+ foreach (Variable v in vcgen.program.GlobalVariables) {
Contract.Assert(v != null);
exprs.Add(new OldExpr(Token.NoToken, new IdentifierExpr(Token.NoToken, v)));
}
@@ -310,7 +310,7 @@ namespace VC {
}
interfaceExprVars = new List<VCExprVar>();
- foreach (Variable v in program.GlobalVariables()) {
+ foreach (Variable v in program.GlobalVariables) {
interfaceExprVars.Add(translator.LookupVariable(v));
}
foreach (Variable v in impl.InParams) {