fix switch branch elimination (#1752)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sat, 1 Apr 2017 09:19:57 +0000 (17:19 +0800)
committerGitHub <noreply@github.com>
Sat, 1 Apr 2017 09:19:57 +0000 (17:19 +0800)
commitee3fe0f4cd977213701579565ce68fc6a85916c3
treebaf9def4449069bc166f3c1c3dbe204a3b39223c
parent87f6e1b09146607a2bf1eaa080a645277c767dda
fix switch branch elimination (#1752)

Merge unreachable case body with previous fallthrough case

fixes #1750
lib/compress.js
test/compress/issue-1750.js [new file with mode: 0644]