improve reduce_vars and fix a bug
authoralexlamsl <alexlamsl@gmail.com>
Sat, 18 Feb 2017 11:19:55 +0000 (19:19 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Tue, 21 Feb 2017 05:29:58 +0000 (13:29 +0800)
commita0f4fd390a0a1af80964aab9754bf5358db575e2
treeb07e7f034909cb2b234fb8963575b6e0f8ff2ef5
parentb8b133d91a7a65f3375d391a036623901d1e357f
improve reduce_vars and fix a bug
- update modified flag between compress() passes
- support IIFE arguments
- fix corner case with multiple definitions

closes #1473
lib/compress.js
lib/scope.js
test/compress/reduce_vars.js