Skip to content

Commit c74c286

Browse files
gretay-jsmshinwell
authored andcommitted
Revert "Move flambda-backend specific flags out of ocaml/ subdirectory (#382)" (#395)
This reverts commit b3375d3.
1 parent 1308d48 commit c74c286

File tree

18 files changed

+1190
-1345
lines changed

18 files changed

+1190
-1345
lines changed

backend/asmgen.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ let compile_fundecl ~ppf_dump fd_cmm =
222222
++ Profile.record ~accumulate:true "linearize" (fun (f : Mach.fundecl) ->
223223
let res = Linearize.fundecl f in
224224
(* CR xclerc for xclerc: temporary, for testing. *)
225-
if !Flambda_backend_flags.use_ocamlcfg then begin
225+
if !Clflags.use_ocamlcfg then begin
226226
test_cfgize f res;
227227
end;
228228
res)
229229
++ pass_dump_linear_if ppf_dump dump_linear "Linearized code"
230230
++ Compiler_hooks.execute_and_pipe Compiler_hooks.Linear
231231
++ (fun (fd : Linear.fundecl) ->
232-
if !Flambda_backend_flags.use_ocamlcfg then begin
232+
if !use_ocamlcfg then begin
233233
fd
234234
++ Profile.record ~accumulate:true "linear_to_cfg"
235235
(Linear_to_cfg.run ~preserve_orig_labels:true)

driver/flambda_backend_args.ml

Lines changed: 0 additions & 757 deletions
This file was deleted.

driver/flambda_backend_args.mli

Lines changed: 0 additions & 93 deletions
This file was deleted.

driver/flambda_backend_flags.ml

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)