Skip to content

Commit

Permalink
flambda-backend: inline fast path of caml_applyN (#934)
Browse files Browse the repository at this point in the history
* Add compilation flag -caml-apply-inline-fast-path
* Use -caml-apply-inline-fast-path for main build and libraries
* Inline fast path of caml_apply
* Bind args
* Refactor and apply the same transformation to Flamba 2.
* Pass [ty] argument to [call_caml_apply]
* Add a CR about a version of caml_applyN that has only cold path
and update a comment.
  • Loading branch information
gretay-js authored Jan 18, 2023
1 parent 3244386 commit 9307e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
;; CR gyorsh: it is not clear what the ":standard" flags are, and they
;; may change depending on the version of dune.
;; Consider hard-coded flags, such as -O3.
(:standard -alloc-check)))
(:standard -alloc-check -caml-apply-inline-fast-path)))
(boot
(flags
(:standard -warn-error +A))))
Expand Down

0 comments on commit 9307e7c

Please sign in to comment.