Age | Commit message (Expand) | Author |
---|---|---|
2017-03-30 | optimize try-catch-finally (#1731)...- eliminate empty blocks - flatten out if try-block does not throw | Alex Lam S.L |
2017-03-19 | make `expect_stdout` work on Node.js 0.12 (#1623)...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. | Alex Lam S.L |
2017-03-07 | avoid substitution of global variables (#1557)...- unless `toplevel` is enabled - global `const` works as before | Alex Lam S.L |
2017-02-28 | warn & drop `#__PURE__` iff IIFE is dropped (#1511)...- consolidate `side-effects` optimisations - improve string `+` optimisation - enhance literal & `conditionals` optimisations | Alex Lam S.L |
2017-02-24 | enable `collapse_vars` & `reduce_vars` by default...- fix corner cases in `const` optimisation - deprecate `/*@const*/` fixes #1497 closes #1498 | alexlamsl |
2017-02-21 | Add .gitattributes to checkout lf eol style...closes #1487 | Anthony Van de Gejuchte |
2016-01-20 | Tighten up @const regex. | Samuel Reed |
2016-01-20 | Use TreeWalker for more accurate @const results and update tests | Samuel Reed |
2016-01-19 | Mark vars with /** @const */ pragma as consts so they can be eliminated....Fixes older browser support for consts and allows more flexibility in dead code removal. | Samuel Reed |
2015-02-11 | Clean up unit test breakage...In 992b6b9fcce47ca67ecb14675f10b172ce7a99b5 unit test broke (which I missed). This was due to undeclared variables not being side-effects free. However, since they're really not side-effect free, just declare them in the test cases. | Richard van Velzen |
2012-09-07 | always keep declarations found in unreachable code...a few more tests and some cleanups. | Mihai Bazon |
2012-08-27 | minor | Mihai Bazon |
2012-08-22 | wrote more of the compressor and added some tests | Mihai Bazon |