diff options
| author | Pierre-Marie Pédrot | 2015-06-24 13:37:51 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2015-06-24 13:37:51 +0200 |
| commit | f7f5b7dcc641e233a1b18dab7228d1d8c55596b3 (patch) | |
| tree | b0bf4f02f30ccb2845b114202ec8691c1bc89ea6 /lib | |
| parent | bb8dd8212efb839746e050062b108b33632ba224 (diff) | |
| parent | 1343b69221ce3eeb3154732e73bbdc0044b224a8 (diff) | |
Merge branch 'v8.5'
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/flags.ml | 4 | ||||
| -rw-r--r-- | lib/flags.mli | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lib/flags.ml b/lib/flags.ml index fe580b7fff..9a0d4b5ec1 100644 --- a/lib/flags.ml +++ b/lib/flags.ml @@ -215,3 +215,7 @@ let native_compiler = ref false let print_mod_uid = ref false let tactic_context_compat = ref false + +let dump_bytecode = ref false +let set_dump_bytecode = (:=) dump_bytecode +let get_dump_bytecode () = !dump_bytecode diff --git a/lib/flags.mli b/lib/flags.mli index bdb8159add..29a0bbef01 100644 --- a/lib/flags.mli +++ b/lib/flags.mli @@ -130,12 +130,17 @@ val set_inline_level : int -> unit val get_inline_level : unit -> int val default_inline_level : int -(* Native code compilation for conversion and normalization *) +(** Native code compilation for conversion and normalization *) val native_compiler : bool ref -(* Print the mod uid associated to a vo file by the native compiler *) +(** Print the mod uid associated to a vo file by the native compiler *) val print_mod_uid : bool ref val tactic_context_compat : bool ref (** Set to [true] to trigger the compatibility bugged context matching (old context vs. appcontext) is set. *) + +(** Dump the bytecode after compilation (for debugging purposes) *) +val dump_bytecode : bool ref +val set_dump_bytecode : bool -> unit +val get_dump_bytecode : unit -> bool |
