diff options
Diffstat (limited to 'src/ValuesUtils.ml')
-rw-r--r-- | src/ValuesUtils.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ValuesUtils.ml b/src/ValuesUtils.ml index 623703ee..9aeb15f4 100644 --- a/src/ValuesUtils.ml +++ b/src/ValuesUtils.ml @@ -20,6 +20,8 @@ let mk_box_value (v : typed_value) : typed_value = let box_v = Adt { variant_id = None; field_values = [ v ] } in mk_typed_value box_ty box_v +let is_bottom (v : value) : bool = match v with Bottom -> true | _ -> false + let is_symbolic (v : value) : bool = match v with Symbolic _ -> true | _ -> false |