Skip to content

Commit 9307e7c

Browse files
authored
flambda-backend: inline fast path of caml_applyN (#934)
* 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.
1 parent 3244386 commit 9307e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
;; CR gyorsh: it is not clear what the ":standard" flags are, and they
2626
;; may change depending on the version of dune.
2727
;; Consider hard-coded flags, such as -O3.
28-
(:standard -alloc-check)))
28+
(:standard -alloc-check -caml-apply-inline-fast-path)))
2929
(boot
3030
(flags
3131
(:standard -warn-error +A))))

0 commit comments

Comments
 (0)