aboutsummaryrefslogtreecommitdiff
path: root/test/compress/switch.js
AgeCommit message (Collapse)Author
2017-03-25fix `dead_code` on `AST_Switch` (#1667)Alex Lam S.L
Need to call `extract_declarations_from_unreachable_code()`. fixes #1663
2013-03-01Drop last `default:` if it's the last branch and emptyMihai Bazon
Close #141
2012-11-14better solution for the last test in constant switch foldingMihai Bazon
2012-11-14optimize constant switch blocksMihai Bazon
ref. mishoo/UglifyJS#441