fix tail trimming of switch blocks (#1707)
authorAlex Lam S.L <alexlamsl@gmail.com>
Mon, 27 Mar 2017 19:59:13 +0000 (03:59 +0800)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2017 19:59:13 +0000 (03:59 +0800)
commit67d0237f73c3147855983edde137cd95a2cb1749
tree88be1c764d2de5243ce210a5eef76382f511b7a2
parent984a21704e126616a74d65a1e8790aeccd02f548
fix tail trimming of switch blocks (#1707)

now guarded under `dead_code`

fixes #1705
lib/compress.js
test/compress/switch.js