summaryrefslogtreecommitdiff
path: root/compiler/Translate.ml
diff options
context:
space:
mode:
authorSon Ho2024-05-30 22:34:05 +0200
committerSon Ho2024-05-30 22:34:05 +0200
commit4b87c34cb91485bae744cd5aa42d63493686fdd3 (patch)
tree3ba25311666127dc9d30b9790cd3bc1c67fca798 /compiler/Translate.ml
parent170ce1c399d3ae6b2ff9485037eae4d89e7879f2 (diff)
Remove the options from the functions synthesizing the symbolic AST
Diffstat (limited to '')
-rw-r--r--compiler/Translate.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/Translate.ml b/compiler/Translate.ml
index 02d495c0..0f887ec8 100644
--- a/compiler/Translate.ml
+++ b/compiler/Translate.ml
@@ -31,9 +31,8 @@ let translate_function_to_symbolics (trans_ctx : trans_ctx) (fdef : fun_decl) :
| None -> None
| Some _ ->
(* Evaluate *)
- let synthesize = true in
- let inputs, symb = evaluate_function_symbolic synthesize trans_ctx fdef in
- Some (inputs, Option.get symb)
+ let inputs, symb = evaluate_function_symbolic trans_ctx fdef in
+ Some (inputs, symb)
(** Translate a function, by generating its forward and backward translations.