diff options
author | qadeer <unknown> | 2010-08-27 17:39:48 +0000 |
---|---|---|
committer | qadeer <unknown> | 2010-08-27 17:39:48 +0000 |
commit | 3eaa4094cf7f3e2cabec24c1dd5638d45f4879f1 (patch) | |
tree | 1f8d45952a48103d32da63cc64f2f02f4dab7974 /Source/Provers | |
parent | 6de3f9c9f86be13bbd4f0bd6e4edf7d7785db0a4 (diff) |
fixed bug with function name look up
Diffstat (limited to 'Source/Provers')
-rw-r--r-- | Source/Provers/Z3api/VCExprVisitor.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Provers/Z3api/VCExprVisitor.cs b/Source/Provers/Z3api/VCExprVisitor.cs index 35bdb61a..6397ccba 100644 --- a/Source/Provers/Z3api/VCExprVisitor.cs +++ b/Source/Provers/Z3api/VCExprVisitor.cs @@ -519,9 +519,7 @@ namespace Microsoft.Boogie.Z3 string funcName = op.Func.Name;
Contract.Assert(funcName != null);
string bvzName = op.Func.FindStringAttribute("external");
- string printedName = ExprLineariser.namer.GetName(op.Func, funcName);
- Contract.Assert(printedName != null);
- if (bvzName != null) printedName = bvzName;
+ if (bvzName != null) funcName = bvzName;
List<Z3TermAst> args = new List<Z3TermAst>();
foreach (VCExpr e in node)
@@ -529,7 +527,7 @@ namespace Microsoft.Boogie.Z3 Contract.Assert(e != null);
args.Add(ExprLineariser.Linearise(e, options));
}
- return ExprLineariser.cm.Make(printedName, args);
+ return ExprLineariser.cm.Make(funcName, args);
}
}
}
|