MLton 20200722
·
559 commits
to master
since this release
http://mlton.org/Release20200722
- Compiler.
- Added expert
-pi-style {default|npi|pic|pie}and-native-pic {false|true}options, which can be used to override a target-determined default. - Fix a number of instances of excessive live data during compilation.
- Disable
ZoneSSA optimization pass by default; theZonepass is known to not be safe-for-space. - Statically allocate and initialize some global objects.
- Many updates and improvements to C and LLVM codegens.
- Add new
BounceVarsRSSA optimization pass to split the live ranges of RSSA variables. - Improve
RssaShrinkoptimization. - Add support for alternate globalization strategies in
ConstantPropagation. - Strengthen
Uselessoptimization with respect to a number of primitives. - Add new
DuplicateGlobalsandSplitTypesSSA optimization passes. - Introduce new
Overflow-checking primitives and remove oldOverflow-checking primitives and special-case code required (e.g.,Arithtransfers in IRs) to support them. - Add parsers for XML, SXML, SSA, and SSA2 IRs.
- Added expert
- Runtime.
- Detect and report incompatible use of ASLR/PIE on
load-world. - Added support for RISC-V architecture.
- Detect and report incompatible use of ASLR/PIE on
- Language.
- Libraries.
- Basis Library.
- Change
OS.IO.pollto not be restarted when interrupted by a signal. (This is consistent withSocket.select.) - Add
MLton.sizeAll: unit -> IntInf.intthat returns the size of reachable live data. - Change type of
MLton.sizefrom'a -> intto'a -> IntInf.int, because with 64-bit systems, the size of a single object can exceed that representable by a signed 32-bit integer.
- Change
- Other libraries.
- Updated: ckit library, MLLPT library, MLRISC library, SML/NJ library
- Basis Library.
- Tools.
- Other.
- Updates to simplify porting MLton.
- Support parallel build (i.e.,
make -j). This mainly supports platforms/packagers that use a parallelmakeby default; it does not obtain significant build speedups. - Various updates to
Makefiles. SeeMakefile.configfor common and user-customizable configuration. - Characterize MLton-LICENSE as an instance of the Historical Permission Notice and Disclaimer (HPND) license, rather than BSD-style.