diff options
| author | Brian Campbell | 2018-01-29 09:18:08 +0000 |
|---|---|---|
| committer | Brian Campbell | 2018-01-29 09:18:08 +0000 |
| commit | 3adfbd69df79862bb9ac8b57f4777a30dac24ff3 (patch) | |
| tree | 9dcce1ab1c12e2ce82630bd8ae4471b4ca1e0ba1 /src/process_file.ml | |
| parent | 4e4420f00984c11782445210709e665370e99358 (diff) | |
Turn off warnings when rechecking after mono
Diffstat (limited to 'src/process_file.ml')
| -rw-r--r-- | src/process_file.ml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/process_file.ml b/src/process_file.ml index cb8c8011..1ba8069f 100644 --- a/src/process_file.ml +++ b/src/process_file.ml @@ -196,12 +196,10 @@ let monomorphise_ast locs type_env ast = debug_analysis = !opt_dmono_analysis; rewrites = !opt_mono_rewrites; rewrite_size_parameters = !Pretty_print_lem.opt_mwords; - all_split_errors = !opt_dall_split_errors + all_split_errors = !opt_dall_split_errors; + dump_raw = !opt_ddump_raw_mono_ast } in - let ast = monomorphise opts locs type_env ast in - let () = if !opt_ddump_raw_mono_ast then Pretty_print_sail.pp_defs stdout ast else () in - let ienv = Type_check.Env.no_casts Type_check.initial_env in - Type_check.check ienv ast + monomorphise opts locs type_env ast let open_output_with_check file_name = let (temp_file_name, o) = Filename.open_temp_file "ll_temp" "" in |
