diff options
author | akashlal <unknown> | 2014-08-03 23:33:53 +0530 |
---|---|---|
committer | akashlal <unknown> | 2014-08-03 23:33:53 +0530 |
commit | 62cc2929cfb18b017e4b300817532ca15f4be644 (patch) | |
tree | d833d343304802d13c7852b688952e9735749fbe /Source/VCGeneration | |
parent | 0d82fe57a792b4b68826a9b0c72cf386052f1ff0 (diff) |
Bug fix in SI
Diffstat (limited to 'Source/VCGeneration')
-rw-r--r-- | Source/VCGeneration/StratifiedVC.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs index d88d4667..fe40618e 100644 --- a/Source/VCGeneration/StratifiedVC.cs +++ b/Source/VCGeneration/StratifiedVC.cs @@ -112,6 +112,11 @@ namespace VC { return ret;
}
}
+
+ public override string ToString()
+ {
+ return info.impl.Name;
+ }
}
public class CallSite {
@@ -175,7 +180,13 @@ namespace VC { }
scs.interfaceExprs = newInterfaceExprs;
}
- return gen.Implies(callSiteExpr, svc.vcexpr);
+ //return gen.Implies(callSiteExpr, svc.vcexpr);
+ return svc.vcexpr;
+ }
+
+ public override string ToString()
+ {
+ return callSite.calleeName;
}
}
@@ -404,7 +415,7 @@ namespace VC { i++;
AssumeCmd callSiteAssumeCmd = (AssumeCmd)block.Cmds[i];
IdentifierExpr iexpr = (IdentifierExpr) callSiteAssumeCmd.Expr;
- CallSite cs = new CallSite(naryExpr.Fun.FunctionName, interfaceExprs, prover.Context.BoogieExprTranslator.LookupVariable(iexpr.Decl), block, instr, callSiteAssumeCmd.Attributes);
+ CallSite cs = new CallSite(naryExpr.Fun.FunctionName, interfaceExprs, prover.Context.BoogieExprTranslator.LookupVariable(iexpr.Decl), block, instr, assumeCmd.Attributes);
if (!callSites.ContainsKey(block))
callSites[block] = new List<CallSite>();
callSites[block].Add(cs);
|