Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-01 | improve compression of `if` conditions (#2544) | Alex Lam S.L | |
2017-11-29 | fix `inline` on nested substitutions (#2533) | Alex Lam S.L | |
fixes #2531 | |||
2017-11-11 | implement compress option `reduce_funcs` (#2466) | Alex Lam S.L | |
- inline single-use function declarations as expressions when permissible - depend on `reduce_vars` - enabled by default - disable for speed critical code fixes #2464 | |||
2017-11-09 | fix multiple nested function substitutions (#2458) | Alex Lam S.L | |
fixes #2449 | |||
2017-11-05 | inline single-use functions that are not constant expressions (#2434) | Alex Lam S.L | |
fixes #2428 | |||
2017-10-22 | safer `properties` transform (#2391) | Alex Lam S.L | |
`{ a: x, b: y }.a` => `[ x, y ][0]` - `x` cannot be function containing `this` `[ x, y, z ][1]` => `(x, z, y)` - only if `z` is side-effect-free | |||
2017-10-22 | fix `unsafe` escape analysis in `reduce_vars` (#2387) | Alex Lam S.L | |
2017-07-02 | improve `inline` efficiency (#2188) | Alex Lam S.L | |
... by teaching `collapse_vars` some new tricks. fixes #2187 | |||
2017-06-27 | improve `unsafe_Func` (#2171) | Alex Lam S.L | |
- minimise disturbance to `compute_char_frequency()` - remove extraneous quotation marks | |||
2017-06-23 | synchronise `mangle.properties` for `minify()` & `test/compress` (#2151) | Alex Lam S.L | |
2017-06-17 | make defensive copies when `inline` (#2116) | Alex Lam S.L | |
fixes #2114 | |||
2017-06-16 | correctly determine scope of `AST_This` (#2109) | Alex Lam S.L | |
fixes #2107 | |||
2017-06-15 | suppress `inline` of `this` (#2103) | Alex Lam S.L | |
fixes #2101 | |||
2017-06-15 | compute `uses_arguments` correctly in `figure_out_scope()` (#2099) | Alex Lam S.L | |
fixes #2097 | |||
2017-06-13 | fix variable accounting in `inline` (#2085) | Alex Lam S.L | |
fixes #2084 | |||
2017-06-06 | implement function inlining (#2053) | Alex Lam S.L | |
- empty body - single `AST_Return` - single `AST_SimpleStatement` - avoid `/*#__PURE__*/` Miscellaneous - enhance single-use function substitution fixes #281 | |||
2017-06-06 | workaround webkit parsing error (#2056) | Alex Lam S.L | |
apply `webkit` to jetstream tests | |||
2017-05-31 | introduce `unsafe_Func` (#2033) | Alex Lam S.L | |
Separate flag for #203 functionality. | |||
2017-05-27 | extend `node_version` range on applicable tests (#2015) | Alex Lam S.L | |
2017-05-27 | fix `hoist_funs` on block-scoped `function` under "use strict" (#2013) | Alex Lam S.L | |
Technically not part of ES5, but commonly used code exists in the wild. | |||
2017-05-02 | improve literal return optimization (#1860) | kzc | |
2017-04-24 | fix `unused` on for-in statements (#1843) | Alex Lam S.L | |
Only need to avoid `var` within the initialisation block. fixes #1841 | |||
2017-03-19 | make `expect_stdout` work on Node.js 0.12 (#1623) | Alex Lam S.L | |
That particular version of Node.js has messed up error messages, so provide a version-specific workaround. Also fixed an formatting issue which would cause `expect_stdout` to fail if error message contains excerpts of input. Apply `expect_stdout` to more applicable tests. | |||
2017-03-05 | fix a corner case in #1530 (#1552) | Alex Lam S.L | |
2017-03-03 | process code with implicit return statement (#1522) | Alex Lam S.L | |
Bookmarklet for instance implicitedly assumes a "completion value" without using `return`. The `expression` option now supports such use cases. Optimisations on IIFEs also enhanced. fixes #354 fixes #543 fixes #625 fixes #628 fixes #640 closes #1293 | |||
2017-03-02 | optimize trivial IIFEs returning constants (#1530) | kzc | |
2017-01-19 | Add preventive test involving non-ascii function identifiers | Anthony Van de Gejuchte | |