summaryrefslogtreecommitdiff
path: root/src/ValuesUtils.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ValuesUtils.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ValuesUtils.ml b/src/ValuesUtils.ml
index f4a10287..16c94800 100644
--- a/src/ValuesUtils.ml
+++ b/src/ValuesUtils.ml
@@ -8,6 +8,8 @@ let mk_unit_value : typed_value =
let mk_typed_value (ty : ety) (value : value) : typed_value = { value; ty }
+let mk_bottom (ty : ety) : typed_value = { value = Bottom; ty }
+
(** Box a value *)
let mk_box_value (v : typed_value) : typed_value =
let box_ty = mk_box_ty v.ty in