document enable-type-recovery

original commit: 30033287ad504058bc6810b1ef4ff5ecbe927dac
This commit is contained in:
Matthew Flatt 2019-11-26 07:15:16 -07:00
parent ee54863999
commit 7e36c21d81

View File

@ -1132,6 +1132,7 @@ generate-interrupt-trap
enable-cross-library-optimization
enable-arithmetic-left-associative
enable-error-source-expression
enable-type-recovery
\endschemedisplay
It restores the values after the file has been compiled.
@ -2837,6 +2838,18 @@ would be reduced to \scheme{3628800}, but
would be left unchanged, although the optimizer may take a while to
reach this decision if the effort and outer unroll limits are large.
%----------------------------------------------------------------------------
\entryheader
\formdef{enable-type-recovery}{\categorythreadparameter}{enable-type-recovery}
\listlibraries
\endentryheader
A parameter that controls whether the compiler attempts to improve
programs by performing a pass similar to type inference, which can
avoid more checks and statically resolve more predicates than
\scheme{cp0} by itself, but at the cost of extra compile time. The
default is \scheme{#t}.
%----------------------------------------------------------------------------
\entryheader
\formdef{commonization-level}{\categorythreadparameter}{commonization-level}