diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-01-03 01:54:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 01:54:44 +0800 |
commit | 7d3cddf9d624d169c6667a52e8d6f313d1b30159 (patch) | |
tree | 95451cf3cee9c44a472a72a8f94a7c7c1f88694c /README.md | |
parent | 6dead95eb3e2566f157b9d776803ea8b7168356d (diff) | |
download | tracifyjs-7d3cddf9d624d169c6667a52e8d6f313d1b30159.tar.gz tracifyjs-7d3cddf9d624d169c6667a52e8d6f313d1b30159.zip |
inline functions with `AST_Var` (#2688)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -640,7 +640,13 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u - `if_return` (default: `true`) -- optimizations for if/return and if/continue -- `inline` (default: `true`) -- embed simple functions +- `inline` (default: `true`) -- inline calls to function with simple/`return` statement: + - `false` -- same as `0` + - `0` -- disabled inlining + - `1` -- inline simple functions + - `2` -- inline functions with arguments + - `3` -- inline functions with arguments and variables + - `true` -- same as `3` - `join_vars` (default: `true`) -- join consecutive `var` statements |