summaryrefslogtreecommitdiff
path: root/src/pattern_completeness.ml
diff options
context:
space:
mode:
authorBrian Campbell2018-02-21 17:21:13 +0000
committerBrian Campbell2018-02-21 17:24:19 +0000
commitf3eef8c8587039570d08ce6dfb8a6163adfb3490 (patch)
treeb715a858d60bf36d59b390a99a580a12700da33c /src/pattern_completeness.ml
parent4f4bba5ea1fe6a208025cb62317be7398a4291d1 (diff)
Implement more builtins in constant propagation
Diffstat (limited to 'src/pattern_completeness.ml')
-rw-r--r--src/pattern_completeness.ml7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pattern_completeness.ml b/src/pattern_completeness.ml
index 123592a3..ebb402e5 100644
--- a/src/pattern_completeness.ml
+++ b/src/pattern_completeness.ml
@@ -58,13 +58,6 @@ type ctx =
variants : IdSet.t Bindings.t
}
-let hex_to_bin hex =
- Util.string_to_list hex
- |> List.map Sail_lib.hex_char
- |> List.concat
- |> List.map Sail_lib.char_of_bit
- |> (fun bits -> String.init (List.length bits) (List.nth bits))
-
type gpat =
| GP_lit of lit
| GP_wild