summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/FixedpointVC.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/FixedpointVC.cs
parent8bb1e486770ccc399c86c713b7808b0dee5971d5 (diff)
Did more refactoring and addressed several todos.
Diffstat (limited to 'Source/VCGeneration/FixedpointVC.cs')
-rw-r--r--Source/VCGeneration/FixedpointVC.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/VCGeneration/FixedpointVC.cs b/Source/VCGeneration/FixedpointVC.cs
index ee33253f..4b4e970e 100644
--- a/Source/VCGeneration/FixedpointVC.cs
+++ b/Source/VCGeneration/FixedpointVC.cs
@@ -195,7 +195,7 @@ namespace Microsoft.Boogie
{
// in flat mode, all live globals should be in live set
#if false
- foreach (Variable v in program.GlobalVariables())
+ foreach (Variable v in program.GlobalVariables)
{
vars.Add(v);
names.Add(v.ToString());
@@ -214,7 +214,7 @@ namespace Microsoft.Boogie
}
else
{
- foreach (Variable v in program.GlobalVariables())
+ foreach (Variable v in program.GlobalVariables)
{
vars.Add(v);
names.Add("@old_" + v.ToString());
@@ -296,7 +296,7 @@ namespace Microsoft.Boogie
List<Variable> vars = new List<Variable>();
List<string> names = new List<string>();
- foreach (Variable v in program.GlobalVariables())
+ foreach (Variable v in program.GlobalVariables)
{
vars.Add(v);
exprs.Add(new IdentifierExpr(Token.NoToken, v));
@@ -340,7 +340,7 @@ namespace Microsoft.Boogie
List<Variable> vars = new List<Variable>();
List<string> names = new List<string>();
- foreach (Variable v in program.GlobalVariables())
+ foreach (Variable v in program.GlobalVariables)
{
vars.Add(v);
exprs.Add(new OldExpr(Token.NoToken,new IdentifierExpr(Token.NoToken, v)));
@@ -480,7 +480,7 @@ namespace Microsoft.Boogie
List<Variable> interfaceVars = new List<Variable>();
Expr assertExpr = new LiteralExpr(Token.NoToken, true);
Contract.Assert(assertExpr != null);
- foreach (Variable v in program.GlobalVariables())
+ foreach (Variable v in program.GlobalVariables)
{
Contract.Assert(v != null);
interfaceVars.Add(v);
@@ -657,7 +657,7 @@ namespace Microsoft.Boogie
}
else if (mode == Mode.Corral || proc.FindExprAttribute("inline") != null || proc is LoopProcedure)
{
- foreach (Variable v in program.GlobalVariables())
+ foreach (Variable v in program.GlobalVariables)
{
Contract.Assert(v != null);
exprs.Add(new OldExpr(Token.NoToken, new IdentifierExpr(Token.NoToken, v)));