aboutsummaryrefslogtreecommitdiff
path: root/test/compress/pure_funcs.js
AgeCommit message (Collapse)Author
2021-05-02fix corner case in `hoist_vars` (#4894)Alex Lam S.L
fixes #4893
2021-03-13implement `annotations` (#4763)Alex Lam S.L
2020-12-24replace `keep_fargs` default to `false` (#4443)Alex Lam S.L
2020-06-08fix corner cases related to `in` (#3964)Alex Lam S.L
2020-05-11retain `@__PURE__` call when return value is used (#3874)Alex Lam S.L
2020-05-10improve `inline` of `/*@__PURE__*/` calls (#3865)Alex Lam S.L
2020-05-08fix corner case in `inline` (#3859)Alex Lam S.L
fixes #3858
2019-03-14improve usability of `pure_funcs` (#3336)Alex Lam S.L
fixes #3325
2018-04-10handle `pure_funcs` under `inline` & `reduce_vars` correctly (#3066)Alex Lam S.L
fixes #3065
2018-01-03extend `__PURE__` to `AST_New` (#2706)Alex Lam S.L
fixes #2705
2017-12-24fix comments output & improve `/*@__PURE__*/`Alex Lam S.L
- fix whitespace around comments - fix comment parsing around parentheses - consider parentheses when parsing `/*@__PURE__*/` - remove all `/*@__PURE__*/` on output fixes #2638
2017-12-22make comments output more robust (#2633)Alex Lam S.L
- improve handling of comments right after `return` - retain comments after `OutputStream` - preserve trailing comments - fix handling of new line before comments - handle comments around parentheses fixes #88 fixes #112 fixes #218 fixes #372 fixes #2629
2017-02-21fix `pure_funcs` & improve `side_effects`alexlamsl
- only drops side-effect-free arguments - drop side-effect-free parts with discarded value from `AST_Seq` & `AST_SimpleStatement` closes #1494