summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJon French2019-03-04 16:14:15 +0000
committerJon French2019-03-04 16:14:15 +0000
commit48266097a2ffc005bb6005328e7ea1e52df904eb (patch)
treed25f67e9eae17526507b96865c671337a6b4557c /src
parentaf554830c63856f211e9d8245cc2dd7312957021 (diff)
Marshalling: remove prover before marshalling
Diffstat (limited to 'src')
-rw-r--r--src/sail.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sail.ml b/src/sail.ml
index eb25f56d..d97cbd22 100644
--- a/src/sail.ml
+++ b/src/sail.ml
@@ -487,10 +487,10 @@ let main() =
(if !(opt_marshal_defs)
then
begin
- let ast_marshal = rewrite_ast_ocaml type_envs ast in
+ let ast_marshal = rewrite_ast_interpreter type_envs ast in
let out_filename = match !opt_file_out with None -> "out" | Some s -> s in
let f = open_out_bin (out_filename ^ ".defs") in
- Marshal.to_string ast_marshal [Marshal.No_sharing; Marshal.Compat_32]
+ Marshal.to_string (ast_marshal, Type_check.Env.set_prover None type_envs) [Marshal.No_sharing; Marshal.Compat_32]
|> B64.encode
|> output_string f;
close_out f