diff options
author | qadeer <unknown> | 2014-08-08 10:40:27 -0700 |
---|---|---|
committer | qadeer <unknown> | 2014-08-08 10:40:27 -0700 |
commit | 1caf1538249bb7694be25521a06afb06107a7104 (patch) | |
tree | ecce3cef4feab995a7ad5ce276a149f6b0715c33 /Source/VCGeneration | |
parent | bbfe57fbf0c7ff2c2b01f6020a7fda199efe15d8 (diff) | |
parent | 62cc2929cfb18b017e4b300817532ca15f4be644 (diff) |
merge
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);
|