summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2017-10-16 09:27:02 +0200
committerGitHub <noreply@github.com>2017-10-16 09:27:02 +0200
commitd229144189dc033b52477610853a034397378c4c (patch)
tree30f379b3bdaf47a0f6ebe626a37f534466c5c3c0 /man
parent0b09fb56a5bbea5a72a6c1705fced8f8372dd6ff (diff)
parent2c371b71048188a5af40532677d68c841cfd4e3c (diff)
downloadocaml-d229144189dc033b52477610853a034397378c4c.tar.gz
Merge pull request #1344 from nojb/linscan_flag_manual
Add -linscan doc to manual
Diffstat (limited to 'man')
-rw-r--r--man/ocamlopt.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/ocamlopt.m b/man/ocamlopt.m
index f2a2b208a0..0b6cb27fa5 100644
--- a/man/ocamlopt.m
+++ b/man/ocamlopt.m
@@ -360,6 +360,12 @@ setting the
option ensures that this module will
always be linked if it is put in a library and this library is linked.
.TP
+.B \-linscan
+Use linear scan register allocation. Compiling with this allocator is faster
+than with the usual graph coloring allocator, sometimes quite drastically so for
+long functions and modules. On the other hand, the generated code can be a bit
+slower.
+.TP
.B \-no-alias-deps
Do not record dependencies for module aliases.
.TP