diff options
author | Alon Zakai <azakai@google.com> | 2020-11-04 16:11:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 16:11:57 -0800 |
commit | 09738d9c1988c7d1d00e68e222eacd94bf7b1b5a (patch) | |
tree | 0f04c68669927ec22820957d809e2f86155f5a4c /test/wasm2js/sign_ext.2asm.js | |
parent | 3cae759a6ddf2b69a343270f612cdd92dc00f892 (diff) | |
download | binaryen-09738d9c1988c7d1d00e68e222eacd94bf7b1b5a.tar.gz binaryen-09738d9c1988c7d1d00e68e222eacd94bf7b1b5a.tar.bz2 binaryen-09738d9c1988c7d1d00e68e222eacd94bf7b1b5a.zip |
Inlining: Slight reordering of options (#3308)
This simplifies the three size-related inlining flags, so that their
meanings are clearer. Also improve the comments and put them
in a consistent order in both files.
This should not make any difference in general, except that it is now
possible to have oneCallerInlineMaxSize > flexibleInlineMaxSize,
and we will inline a function with one caller if
flexibleInlineMaxSize < FUNCTION_SIZE <= oneCallerInlineMaxSize
which we would not before. As the defaults of the flags didn't fit that
case, this should not change anything for anyone not passing in
those specific inlining flags. For people that pass in those flags, this
PR makes more things possible.
Resolves the FIXME in that code, and is a refactoring before some
more inlining work I have planned.
Diffstat (limited to 'test/wasm2js/sign_ext.2asm.js')
0 files changed, 0 insertions, 0 deletions