diff options
| author | Alasdair Armstrong | 2018-01-29 14:32:59 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-01-29 14:32:59 +0000 |
| commit | 0258cb243bcd63fe81ff761c12def9f71048e3db (patch) | |
| tree | ea86535c399769bdaa5425d2b1f93a37bd50bcfc /src/process_file.ml | |
| parent | b3bca96a2c3ec108606c1fbc6a8ec533d6c0c344 (diff) | |
| parent | 36f086ce2b3506e2a81ef77ad03f3b339b8f0518 (diff) | |
Merge branch 'sail2' of https://bitbucket.org/Peter_Sewell/sail into sail2
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 |
