aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1673.js
AgeCommit message (Collapse)Author
2017-03-30optimize try-catch-finally (#1731)Alex Lam S.L
- eliminate empty blocks - flatten out if try-block does not throw
2017-03-26fix side-effects detection on switch statements (#1678)Alex Lam S.L
extension of #1675
2017-03-25fix `has_side_effects()` (#1675)Alex Lam S.L
`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 #1673