Skip to content

Revert "Move flambda-backend specific flags out of ocaml/ subdirectory" #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/asmgen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ let compile_fundecl ~ppf_dump fd_cmm =
++ Profile.record ~accumulate:true "linearize" (fun (f : Mach.fundecl) ->
let res = Linearize.fundecl f in
(* CR xclerc for xclerc: temporary, for testing. *)
if !Flambda_backend_flags.use_ocamlcfg then begin
if !Clflags.use_ocamlcfg then begin
test_cfgize f res;
end;
res)
++ pass_dump_linear_if ppf_dump dump_linear "Linearized code"
++ Compiler_hooks.execute_and_pipe Compiler_hooks.Linear
++ (fun (fd : Linear.fundecl) ->
if !Flambda_backend_flags.use_ocamlcfg then begin
if !use_ocamlcfg then begin
fd
++ Profile.record ~accumulate:true "linear_to_cfg"
(Linear_to_cfg.run ~preserve_orig_labels:true)
Expand Down
757 changes: 0 additions & 757 deletions driver/flambda_backend_args.ml

This file was deleted.

93 changes: 0 additions & 93 deletions driver/flambda_backend_args.mli

This file was deleted.

252 changes: 0 additions & 252 deletions driver/flambda_backend_flags.ml

This file was deleted.

Loading