File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 459
459
460
460
module Flambda2 = struct
461
461
module Default = struct
462
+ let classic_mode = false
462
463
let join_points = true
463
464
let unbox_along_intra_function_control_flow = true
464
465
let backend_cse_at_toplevel = false
@@ -467,6 +468,7 @@ module Flambda2 = struct
467
468
let unicode = true
468
469
end
469
470
471
+ let classic_mode = ref Default. classic_mode
470
472
let join_points = ref Default. join_points
471
473
let unbox_along_intra_function_control_flow =
472
474
ref Default. unbox_along_intra_function_control_flow
@@ -628,6 +630,7 @@ module Flambda2 = struct
628
630
end
629
631
630
632
let oclassic_flags () =
633
+ classic_mode := true ;
631
634
cse_depth := 2 ;
632
635
join_points := false ;
633
636
unbox_along_intra_function_control_flow := true ;
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ val insn_sched_default : bool
216
216
217
217
module Flambda2 : sig
218
218
module Default : sig
219
+ val classic_mode : bool
219
220
val join_points : bool
220
221
val unbox_along_intra_function_control_flow : bool
221
222
val backend_cse_at_toplevel : bool
@@ -225,6 +226,7 @@ module Flambda2 : sig
225
226
val unicode : bool
226
227
end
227
228
229
+ val classic_mode : bool ref
228
230
val join_points : bool ref
229
231
val unbox_along_intra_function_control_flow : bool ref
230
232
val backend_cse_at_toplevel : bool ref
You can’t perform that action at this time.
0 commit comments