Skip to content

Commit ec5efd2

Browse files
committed
Note the typestate dataflow timing. The culprit is revealed.
1 parent c4897f8 commit ec5efd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/boot/me/typestate.ml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,8 @@ let process_crate
12201220
in
12211221
let log_flag = cx.ctxt_sess.Session.sess_log_typestate in
12221222
run_passes cx "typestate setup" path setup_passes log_flag log crate;
1223-
run_dataflow cx constr_id graph;
1223+
Session.time_inner "typestate dataflow" cx.ctxt_sess
1224+
(fun _ -> run_dataflow cx constr_id graph);
12241225
run_passes cx "typestate verify" path verify_passes log_flag log crate;
12251226
run_passes cx "typestate aux" path aux_passes log_flag log crate
12261227
;;

0 commit comments

Comments
 (0)