diff options
author | wuestholz <unknown> | 2014-11-10 10:48:12 +0100 |
---|---|---|
committer | wuestholz <unknown> | 2014-11-10 10:48:12 +0100 |
commit | 75542ea0ee9f14ef18eee6e3349747a8f7181b51 (patch) | |
tree | 4c6aacf5f3f4a7387e1c14905579fa842759a4b5 /Source/ExecutionEngine | |
parent | 21361be2f7adcf6bee22aabc02099d573f9522f9 (diff) |
Worked on the verification result caching.
Diffstat (limited to 'Source/ExecutionEngine')
-rw-r--r-- | Source/ExecutionEngine/VerificationResultCache.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/ExecutionEngine/VerificationResultCache.cs b/Source/ExecutionEngine/VerificationResultCache.cs index c75bd52f..5bce360b 100644 --- a/Source/ExecutionEngine/VerificationResultCache.cs +++ b/Source/ExecutionEngine/VerificationResultCache.cs @@ -208,9 +208,9 @@ namespace Microsoft.Boogie {
var oldUnmod = new LocalVariable(Token.NoToken,
new TypedIdent(Token.NoToken, string.Format("{0}##old##{1}", unmod.Name, FreshTemporaryVariableName), unmod.Type));
- before.Add(new AssignCmd(Token.NoToken,
- new List<AssignLhs> { new SimpleAssignLhs(Token.NoToken, new IdentifierExpr(Token.NoToken, oldUnmod)) },
- new List<Expr> { new IdentifierExpr(Token.NoToken, unmod.Decl) }));
+ var lhs = new SimpleAssignLhs(Token.NoToken, new IdentifierExpr(Token.NoToken, oldUnmod));
+ var rhs = new IdentifierExpr(Token.NoToken, unmod.Decl);
+ before.Add(new AssignCmd(Token.NoToken, new List<AssignLhs> { lhs }, new List<Expr> { rhs }));
var eq = LiteralExpr.Eq(new IdentifierExpr(Token.NoToken, oldUnmod), new IdentifierExpr(Token.NoToken, unmod.Decl));
if (assumedExpr == null)
{
|