Skip to content

Commit

Permalink
ocamloptp: fix wrong name for -inline-max-unroll option (#1843)
Browse files Browse the repository at this point in the history
When using ocamlopt with the argument -inline-max-unroll, ocamloptp would pass it as -unroll to ocamlopt, thus leading to an error.
  • Loading branch information
poechsel authored and xavierleroy committed Jun 20, 2018
1 parent f5411f2 commit 71d0d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ocamloptp.ml
Expand Up @@ -74,7 +74,7 @@ module Options = Main_args.Make_optcomp_options (struct
let _dump_pass = option_with_arg "-dump-pass"
let _inline_max_depth n = option_with_arg "-inline-max-depth" n
let _rounds n = option_with_int "-rounds" n
let _inline_max_unroll n = option_with_arg "-unroll" n
let _inline_max_unroll n = option_with_arg "-inline-max-unroll" n
let _inline_call_cost n = option_with_arg "-inline-call-cost" n
let _inline_alloc_cost n = option_with_arg "-inline-alloc-cost" n
let _inline_prim_cost n = option_with_arg "-inline-prim-cost" n
Expand Down

0 comments on commit 71d0d57

Please sign in to comment.