avoid `evaluate` of compound assignment after `dead_code` transform (#2861)
authorAlex Lam S.L <alexlamsl@gmail.com>
Thu, 1 Feb 2018 08:18:29 +0000 (16:18 +0800)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2018 08:18:29 +0000 (16:18 +0800)
commitaa664dea0a07656d1fa61263e3a03e7d8b5c4cc9
treefad3c0fb8567c8f0f9fed15e4bb276ace522f602
parent102f994b9d09b3ed0447f02a894fd88fcc903171
avoid `evaluate` of compound assignment after `dead_code` transform (#2861)

fixes #2860
lib/compress.js
test/compress/dead-code.js
test/compress/reduce_vars.js