implement optimization: (x = 2 * x) ---> (x *= 2)
authorkzc <zaxxon2011@gmail.com>
Fri, 26 Aug 2016 22:47:25 +0000 (18:47 -0400)
committerkzc <zaxxon2011@gmail.com>
Tue, 30 Aug 2016 12:43:02 +0000 (08:43 -0400)
commit0bd8053524760531eb582ef0716fcfe2104c3014
tree5f7c7066585261b0f7a20ea478d3b2865de89564
parent1a78bbcd23e8db214872f1cd403f1b42503aaf9c
implement optimization: (x = 2 * x) ---> (x *= 2)
lib/compress.js
test/compress/asm.js
test/compress/assignment.js [new file with mode: 0644]