aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1673.js
AgeCommit message (Expand)Author
2017-11-11implement 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 #2464Alex Lam S.L
2017-03-30optimize try-catch-finally (#1731)...- eliminate empty blocks - flatten out if try-block does not throwAlex Lam S.L
2017-03-26fix side-effects detection on switch statements (#1678)...extension of #1675Alex Lam S.L
2017-03-25fix `has_side_effects()` (#1675)...`AST_Try` is an `AST_Block`, so besides try block we also need to inspect catch and finally blocks for possible side effects. Also extend this functionality to handle `AST_If` and `AST_LabeledStatement` while we are at it. fixes #1673Alex Lam S.L