Improve optimizing `function() { if(c){return foo} bar();}`
authorAnthony Van de Gejuchte <anthonyvdgent@gmail.com>
Sat, 18 Feb 2017 10:56:18 +0000 (18:56 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Sat, 18 Feb 2017 10:56:18 +0000 (18:56 +0800)
commitdd31d12a9110b34c1b45a72b6e1f2b64c2d7afe9
tree1aa21b366261d20c0dfa4e5adc7d39f568499784
parent7f8d72d9d37396f2da05d5d824f74bd414c30119
Improve optimizing `function() { if(c){return foo} bar();}`

closes #1437
lib/compress.js
test/compress/if_return.js
test/compress/issue-979.js
test/mocha/cli.js