Age | Commit message (Expand) | Author |
---|---|---|
2017-12-14 | fix `reduce_vars` on single `AST_Defun` reference across loop (#2593) | Alex Lam S.L |
2017-12-14 | improve `reduce_vars` (#2592)...- account for hoisting nature of `var` | Alex Lam S.L |
2017-12-14 | fold `cascade` functionality into `collapse_vars` (#2586) | Alex Lam S.L |
2017-12-11 | rename tests (#2575) | Alex Lam S.L |
2017-12-08 | fix escape analysis for `AST_Throw` (#2564) | Alex Lam S.L |
2017-12-08 | fix escape analysis for `AST_Conditional` & `AST_Sequence` (#2563)...fixes #2560 | Alex Lam S.L |
2017-12-01 | convert to number under boolean context (#2545) | Alex Lam S.L |
2017-12-01 | improve compression of loop conditions (#2543) | Alex Lam S.L |
2017-11-29 | backport test from #2526 (#2534) | Alex Lam S.L |
2017-11-28 | improve synergy between `collapse_vars` & `unused` (#2521) | Alex Lam S.L |
2017-11-16 | fix cross-scope inlining of `AST_Function`s (#2486)...fixes #2485 | Alex Lam S.L |
2017-11-11 | extend `reduce_funcs` to cover cross-scope substitutions (#2469)...fixes #2468 | Alex Lam S.L |
2017-11-11 | implement compress option `reduce_funcs` (#2466)...- inline single-use function declarations as expressions when permissible - depend on `reduce_vars` - enabled by default - disable for speed critical code fixes #2464 | Alex Lam S.L |
2017-11-10 | fix object literal tracing in `reduce_vars` (#2461) | Alex Lam S.L |
2017-11-09 | fix multiple nested function substitutions (#2458)...fixes #2449 | Alex Lam S.L |
2017-11-08 | preserve function identity in `reduce_vars` (#2451)...fixes #2450 | Alex Lam S.L |
2017-11-07 | handle circular `function` reference gracefully (#2446)...fixes #2442 | Alex Lam S.L |
2017-11-06 | account for `eval` & `with` in `reduce_vars` (#2441)...fixes #2440 | Alex Lam S.L |
2017-11-06 | consolidate & enhance `unused` (#2439)...- defer declaration removal in `collapse_vars` - account for `AST_SymbolFunarg` in deduplication - private accounting for `collapse_vars` - avoid issues with identity reference due to deep cloning fixes #2437 | Alex Lam S.L |
2017-11-05 | extend function inlining safety checks (#2430) | Alex Lam S.L |
2017-11-05 | consolidate single-use `function` reduction (#2427)...fixes #2423 | Alex Lam S.L |
2017-11-04 | reduce `this` within functions (#2421)...- only replace same-scope usages - augment `test/ufuzz.js` to test for `this` fixes #2420 | Alex Lam S.L |
2017-10-29 | enhance `properties` (#2412)...- trim array items only if `side_effects` - extend to non-identifier properties | Alex Lam S.L |
2017-10-24 | fix `unsafe` `reduce_vars` on arrays & objects (#2397) | Alex Lam S.L |
2017-10-24 | enhance `unsafe` `evaluate` of arrays & objects (#2394) | Alex Lam S.L |
2017-10-22 | safer `properties` transform (#2391)...`{ 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 | Alex Lam S.L |
2017-10-22 | fix `unsafe` escape analysis in `reduce_vars` (#2387) | Alex Lam S.L |
2017-10-21 | `unsafe` fix-ups for #2351 (#2379) | Alex Lam S.L |
2017-10-12 | more tests for #2351 (#2357) | Alex Lam S.L |
2017-10-09 | perform `reduce_vars` on safe literals (#2351)...- constant expression - single reference - same scope - not across loop body | Alex Lam S.L |
2017-10-01 | enhance `reduce_vars` for `AST_Accessor` (#2339)...fixes #2336 | Alex Lam S.L |
2017-07-05 | improve `compress` granularity through `typeofs` (#2201)...fixes #2198 | Alex Lam S.L |
2017-06-23 | fix `reduce_vars` on `this` (#2145)...fixes #2140 | Alex Lam S.L |
2017-06-06 | implement function inlining (#2053)...- empty body - single `AST_Return` - single `AST_SimpleStatement` - avoid `/*#__PURE__*/` Miscellaneous - enhance single-use function substitution fixes #281 | Alex Lam S.L |
2017-06-04 | fix `AST_Function` scope invariance (#2052)...improve function name hack in `run_code()` | Alex Lam S.L |
2017-05-14 | fix bugs with getter/setter (#1926)...- `reduce_vars` - `side_effects` - property access for object - `AST_SymbolAccessor` as key names enhance `test/ufuzz.js` - add object getter & setter - property assignment to setter - avoid infinite recursion in setter - fix & adjust assignment operators - 50% `=` - 25% `+=` - 2.5% each for the rest - avoid "Invalid array length" - fix `console.log()` - bypass getter - curb recursive reference - deprecate `-E`, always report runtime errors | Alex Lam S.L |
2017-05-12 | remove support for `const` (#1910)...As this is not part of ES5. | Alex Lam S.L |
2017-05-12 | avoid `arguments` and `eval` in `reduce_vars` (#1924)...fixes #1922 | Alex Lam S.L |
2017-05-07 | fix test for #1865 (#1873) | Alex Lam S.L |
2017-05-06 | fix `unsafe` on `evaluate` of `reduce_vars` (#1870)...Determine if variables with non-constant values can escape and be modified. fixes #1865 | Alex Lam S.L |
2017-04-30 | enforce `toplevel` on other compress options (#1855)...Respect "funcs" and "vars" properly. fixes #1850 | Alex Lam S.L |
2017-04-20 | improve `unused` (#1832)...- extract leading value with side-effects out of `var` statement - reduce scanning of `AST_Definitions` from 3 passes to just once | Alex Lam S.L |
2017-04-18 | support safe reassignments in `reduce_vars` (#1823)...`var a=1;a=2;x(a)` => `x(2)` fix pre-existing issues - reference counting on assignment - walking of anonymous functions - chained assignment | Alex Lam S.L |
2017-04-18 | fix `reduce_vars` on conditionals (#1822) | Alex Lam S.L |
2017-04-17 | fix `reduce_vars` on boolean binary expressions (#1819)...Side effects of `&&` and `||` have not mattered until #1814, which takes assignment expressions into account. | Alex Lam S.L |
2017-04-17 | compress duplicated variable definitions (#1817)...These are surprisingly common, as people reuse the same variable name within loops or switch branches. | Alex Lam S.L |
2017-04-17 | fix `reduce_vars` within try-block (#1818)...Possible partial execution due to exceptions. | Alex Lam S.L |
2017-04-17 | enhance `reduce_vars` (#1814)...- allow immediate assignment after declaration of variable - relax modification rule for immutable value - fix order of visit for TreeWalker - remove extraneous code | Alex Lam S.L |
2017-04-16 | fix variable substitution (#1816)...- let `collapse_vars` take care of value containing any symbols - improve overhead accounting | Alex Lam S.L |
2017-04-07 | introduce "strict" to `pure_getters` (#1795) | Alex Lam S.L |