Skip to content

Commit

Permalink
small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Mar 2, 2023
1 parent 113611e commit e4b67f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/lib/specialize.ml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ let count = ref 0

let specialize_instr function_arity (acc, free_pc, extra) i =
match i with
| Let (x, Apply { f; args; exact }), loc when (not exact) && Config.Flag.optcall () -> (
| Let (x, Apply { f; args; exact = false }), loc when Config.Flag.optcall () -> (
let n' = List.length args in
match function_arity f with
| None -> i :: acc, free_pc, extra
Expand Down

0 comments on commit e4b67f4

Please sign in to comment.