diff options
author | Ally Donaldson <unknown> | 2013-07-22 18:05:27 +0100 |
---|---|---|
committer | Ally Donaldson <unknown> | 2013-07-22 18:05:27 +0100 |
commit | afaeb081ffcc1c258db6eb7c34ba0b04c493919a (patch) | |
tree | d0b07c3e3082f323e17523a3e695dc18ee61062d /Source/Houdini/AbstractHoudini.cs | |
parent | 858d43ff93a0cc9bc30ce55906499fb9157124c9 (diff) |
More refactoring towards replacing PureCollections.Sequence with List
Diffstat (limited to 'Source/Houdini/AbstractHoudini.cs')
-rw-r--r-- | Source/Houdini/AbstractHoudini.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Houdini/AbstractHoudini.cs b/Source/Houdini/AbstractHoudini.cs index 2ff5975e..ceef059e 100644 --- a/Source/Houdini/AbstractHoudini.cs +++ b/Source/Houdini/AbstractHoudini.cs @@ -3237,7 +3237,7 @@ namespace Microsoft.Boogie.Houdini { var nexpr = expr as NAryExpr;
if (nexpr != null && (nexpr.Fun is BinaryOperator)
&& (nexpr.Fun as BinaryOperator).Op == BinaryOperator.Opcode.Imp
- && (nexpr.Args.Length == 2))
+ && (nexpr.Args.Count == 2))
{
postExpr = nexpr.Args[1];
preExpr = nexpr.Args[0];
@@ -3335,7 +3335,7 @@ namespace Microsoft.Boogie.Houdini { {
return ToElem((nary.Fun as BinaryOperator).Evaluate(ToValue(Eval(nary.Args[0], state)), ToValue(Eval(nary.Args[1], state))));
}
- if (nary.Fun is MapSelect && nary.Args.Length == 2)
+ if (nary.Fun is MapSelect && nary.Args.Count == 2)
{
var index = Eval(nary.Args[1], state);
var map = Eval(nary.Args[0], state) as Model.Array;
@@ -3649,7 +3649,7 @@ namespace Microsoft.Boogie.Houdini { {
return gen.Function(Translate(nary.Fun as BinaryOperator), ToVcExpr(nary.Args[0], incarnations, gen), ToVcExpr(nary.Args[1], incarnations, gen));
}
- if (nary.Fun is MapSelect && nary.Args.Length == 2)
+ if (nary.Fun is MapSelect && nary.Args.Count == 2)
{
return gen.Select(ToVcExpr(nary.Args[0], incarnations, gen), ToVcExpr(nary.Args[1], incarnations, gen));
}
|