diff options
author | akashlal <unknown> | 2013-06-19 09:22:37 +0530 |
---|---|---|
committer | akashlal <unknown> | 2013-06-19 09:22:37 +0530 |
commit | 6fcc7aaf9259e8cff46205b1d409cf09b0007464 (patch) | |
tree | 2dbe90e3f284da007591f31c6e032391fc217290 /Source/Houdini | |
parent | b7993002803fa5adf34352ee70c20feba8b039bc (diff) |
AbsHoudini: Bug fix
Diffstat (limited to 'Source/Houdini')
-rw-r--r-- | Source/Houdini/AbstractHoudini.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Houdini/AbstractHoudini.cs b/Source/Houdini/AbstractHoudini.cs index 1be24e20..c2ff238f 100644 --- a/Source/Houdini/AbstractHoudini.cs +++ b/Source/Houdini/AbstractHoudini.cs @@ -625,9 +625,11 @@ namespace Microsoft.Boogie.Houdini { // the right thing.
foreach (var tup in fv.functionsUsed)
{
- //var tt = prover.Context.BoogieExprTranslator.Translate(tup.Item3);
- //tt = prover.VCExprGen.Or(VCExpressionGenerator.True, tt);
- //prover.Assert(tt, true);
+ // Ignore ones with bound varibles
+ if (tup.Item2.InParams.Count > 0) continue;
+ var tt = prover.Context.BoogieExprTranslator.Translate(tup.Item3);
+ tt = prover.VCExprGen.Or(VCExpressionGenerator.True, tt);
+ prover.Assert(tt, true);
}
}
|