diff options
author | 2014-12-08 17:17:33 -0800 | |
---|---|---|
committer | 2014-12-08 17:17:33 -0800 | |
commit | edc37cbeb0f4c46c844949c25bf6d94ffaa74222 (patch) | |
tree | a3743a92a02f21d4f305ce5d0ea0086496c7d456 | |
parent | 07d28c62b758bc16fa4d1c4eae5659514097d8d5 (diff) |
Reverted a change to CreateTempVariable for FixedPointVC only.
-rw-r--r-- | Source/Core/AbsyCmd.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/AbsyCmd.cs b/Source/Core/AbsyCmd.cs index 92495f9d..3b369863 100644 --- a/Source/Core/AbsyCmd.cs +++ b/Source/Core/AbsyCmd.cs @@ -1917,7 +1917,10 @@ namespace Microsoft.Boogie { } // unexpected kind
}
TypedIdent ti = likeThisOne.TypedIdent;
- TypedIdent newTi = new TypedIdent(ti.tok, "call" + (uniqueId++) + tempNamePrefix + ti.Name, ty);
+ // KLM: uniqueId was messing up FixedPointVC for unknown reason.
+ // I reverted this change for FixedPointVC only.
+ int id = CommandLineOptions.Clo.FixedPointEngine != null ? UniqueId : (uniqueId++);
+ TypedIdent newTi = new TypedIdent(ti.tok, "call" + id + tempNamePrefix + ti.Name, ty);
Variable/*!*/ v;
if (kind == TempVarKind.Bound) {
v = new BoundVariable(likeThisOne.tok, newTi);
|