diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2007-05-16 08:21:41 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2007-05-16 08:21:41 +0000 |
commit | 1dd68ccf50afba140553a7cac8586dce93ffbbf2 (patch) | |
tree | 3162e4240757c2d7a563438c64632333ee30d7fb /driver/compile.ml | |
parent | 5dbc715029728bd9e9944f31fe6ac22ceb0a994d (diff) |
ajout des annotations pour variables et appels terminaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'driver/compile.ml')
-rw-r--r-- | driver/compile.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/compile.ml b/driver/compile.ml index 5adaae787..a847dcab4 100644 --- a/driver/compile.ml +++ b/driver/compile.ml @@ -111,12 +111,14 @@ let implementation ppf sourcefile outputprefix = ++ print_if ppf Clflags.dump_instr Printinstr.instrlist ++ Emitcode.to_file oc modulename; Warnings.check_fatal (); - Pparse.remove_preprocessed inputfile; close_out oc; + Pparse.remove_preprocessed inputfile; + Stypes.dump (outputprefix ^ ".annot"); with x -> close_out oc; remove_file objfile; Pparse.remove_preprocessed_if_ast inputfile; + Stypes.dump (outputprefix ^ ".annot"); raise x end |