diff options
author | Unknown <qadeer@GHALIB.redmond.corp.microsoft.com> | 2012-02-23 13:52:02 -0800 |
---|---|---|
committer | Unknown <qadeer@GHALIB.redmond.corp.microsoft.com> | 2012-02-23 13:52:02 -0800 |
commit | dc8e43c41b46e8d2ae9bc93caa97f7b7d891b5df (patch) | |
tree | be54b512a45481d6164f7127664be66a0ce1652d /Source/VCGeneration/Wlp.cs | |
parent | 51e9ec1d1b9fd9d707a7eb5b9c903e266efbdad1 (diff) |
using model instead of labels
Diffstat (limited to 'Source/VCGeneration/Wlp.cs')
-rw-r--r-- | Source/VCGeneration/Wlp.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCGeneration/Wlp.cs b/Source/VCGeneration/Wlp.cs index b84df433..6d4d8051 100644 --- a/Source/VCGeneration/Wlp.cs +++ b/Source/VCGeneration/Wlp.cs @@ -134,7 +134,7 @@ namespace VC { Contract.Assert(controlFlowVariableExpr != null);
VCExpr controlFlowFunctionAppl = gen.ControlFlowFunctionApplication(controlFlowVariableExpr, gen.Integer(BigNum.FromInt(b.UniqueId)));
Contract.Assert(controlFlowFunctionAppl != null);
- VCExpr assertFailure = gen.Eq(controlFlowFunctionAppl, gen.Integer(BigNum.FromInt(ac.UniqueId)));
+ VCExpr assertFailure = gen.Eq(controlFlowFunctionAppl, gen.Integer(BigNum.FromInt(-ac.UniqueId)));
if (ctxt.Label2absy == null) {
return gen.AndSimp(gen.Implies(assertFailure, C), gen.Implies(C, N));
} else {
|