diff options
author | schaef <unknown> | 2011-03-15 02:58:31 +0000 |
---|---|---|
committer | schaef <unknown> | 2011-03-15 02:58:31 +0000 |
commit | 3b95e484b2e097534bf150edc87bc1b19b5892bf (patch) | |
tree | f1ae58dc91efec7599a44d06908d85e83c9be2e4 /Source/VCExpr/VCExprAST.cs | |
parent | b7829c73906c7ddbc01e7e076aa430f349ae9698 (diff) |
new algorithm for dead code detection (vc:doomed)
Diffstat (limited to 'Source/VCExpr/VCExprAST.cs')
-rw-r--r-- | Source/VCExpr/VCExprAST.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/VCExpr/VCExprAST.cs b/Source/VCExpr/VCExprAST.cs index 552df3ed..bb0539bf 100644 --- a/Source/VCExpr/VCExprAST.cs +++ b/Source/VCExpr/VCExprAST.cs @@ -185,6 +185,22 @@ namespace Microsoft.Boogie { Contract.Ensures(Contract.Result<VCExpr>() != null);
return Function(AndOp, e0, e1);
}
+ public VCExpr/*!*/ Gt(VCExpr/*!*/ e0, VCExpr/*!*/ e1)
+ {
+ Contract.Requires(e0 != null);
+ Contract.Requires(e1 != null);
+ Contract.Ensures(Contract.Result<VCExpr>() != null);
+
+ return Function(GtOp, e0, e1);
+ }
+ public VCExpr/*!*/ Add(VCExpr/*!*/ e0, VCExpr/*!*/ e1)
+ {
+ Contract.Requires(e0 != null);
+ Contract.Requires(e1 != null);
+ Contract.Ensures(Contract.Result<VCExpr>() != null);
+
+ return Function(AddOp, e0, e1);
+ }
public VCExpr/*!*/ Or(VCExpr/*!*/ e0, VCExpr/*!*/ e1) {
Contract.Requires(e0 != null);
Contract.Requires(e1 != null);
|