summaryrefslogtreecommitdiff
path: root/src/ExpressionsUtils.ml
diff options
context:
space:
mode:
authorSon Ho2022-10-27 09:16:46 +0200
committerSon HO2022-10-27 12:58:47 +0200
commit7e7d0d67de8285e1d6c589750191bce4f49aacb3 (patch)
tree5ef3178d2c3f7eadc82a0ea9497788e48ce67c2b /src/ExpressionsUtils.ml
parent16560ce5d6409e0f0326a0c6046960253e444ba4 (diff)
Reorganize a bit the project
Diffstat (limited to 'src/ExpressionsUtils.ml')
-rw-r--r--src/ExpressionsUtils.ml10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ExpressionsUtils.ml b/src/ExpressionsUtils.ml
deleted file mode 100644
index c3ccfb15..00000000
--- a/src/ExpressionsUtils.ml
+++ /dev/null
@@ -1,10 +0,0 @@
-module E = Expressions
-
-let unop_can_fail (unop : E.unop) : bool =
- match unop with Neg | Cast _ -> true | Not -> false
-
-let binop_can_fail (binop : E.binop) : bool =
- match binop with
- | BitXor | BitAnd | BitOr | Eq | Lt | Le | Ne | Ge | Gt -> false
- | Div | Rem | Add | Sub | Mul -> true
- | Shl | Shr -> raise Errors.Unimplemented