Skip to content

Commit

Permalink
Use Config.poll_insertion to set the default for the compile flag
Browse files Browse the repository at this point in the history
  • Loading branch information
gretay-js committed Dec 1, 2022
1 parent fa566f2 commit 5f3b231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion driver/flambda_backend_flags.ml
Expand Up @@ -27,7 +27,8 @@ let heap_reduction_threshold = ref default_heap_reduction_threshold (* -heap-red
let alloc_check = ref false (* -alloc-check *)
let dump_checkmach = ref false (* -dcheckmach *)

let disable_poll_insertion = ref true (* -disable-poll-insertion *)
let disable_poll_insertion = ref (not Config.poll_insertion)
(* -disable-poll-insertion *)
let allow_long_frames = ref true (* -no-long-frames *)
(* Keep the value of [max_long_frames_threshold] in sync with LONG_FRAME_MARKER
in ocaml/runtime/roots_nat.c *)
Expand Down

0 comments on commit 5f3b231

Please sign in to comment.