aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-07-26 15:20:10 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-07-26 15:20:10 +0200
commitff28f641f7eef85b501b3f0f875ffc8d31158376 (patch)
treee2081bf5a2ea71d8133d8900f232a3b7c6d53c69 /toplevel
parent9837b4c2b6bf7223c2cc367f2b4c6335684d5124 (diff)
parentc3ca30ca418ed0eca804d09fe6f1ff9d3ff0aa32 (diff)
Merge PR #902: Only perform profile initialization and printing when the flag is set.
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/coqtop.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index d09171bc8..515552fe7 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -614,6 +614,7 @@ let parse_args arglist =
with any -> fatal_error any
let init_toplevel arglist =
+ Profile.init_profile ();
init_gc ();
Sys.catch_break false; (* Ctrl-C is fatal during the initialisation *)
let init_feeder = Feedback.add_feeder coqtop_init_feed in