diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-05-23 16:43:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 16:43:06 -0700 |
commit | 5644d15b87577478659d7cbeb9bb0555cc233631 (patch) | |
tree | ac32ba471617436d20c76aac06129a188f9b3bc1 /test/unit/test_parsing_error.py | |
parent | eabf9ed363ebc3c889ea53da5dab1961ea21e5c4 (diff) | |
download | binaryen-5644d15b87577478659d7cbeb9bb0555cc233631.tar.gz binaryen-5644d15b87577478659d7cbeb9bb0555cc233631.tar.bz2 binaryen-5644d15b87577478659d7cbeb9bb0555cc233631.zip |
Inlining: exposed inlining thresholds as command-line parameters. (#2125)
* Inlining: exposed inlining thresholds as command-line parameters.
This will allow easier experimentation with optimal settings.
Also tweaked the default logic slightly to always inline single
caller functions up to a certain size.
The command-line arguments were tested to have the desired effect
for example by the Makefile change in this commit:
https://github.com/aardappel/lobster/commit/39ae393e27ff363ab095bbb26c90d6fe17570104
which in turn relies on:
https://github.com/emscripten-core/emscripten/pull/8635
* Grouped inlining options & reverted defaults.
Now uses same defaults for inlining as before for the sake of
not having to redo a lot of tests.
Added FIXME to indicate that the current inlining logic needs
fixing.
* Fixed default values now pulled from code.
* clang-format
Diffstat (limited to 'test/unit/test_parsing_error.py')
0 files changed, 0 insertions, 0 deletions