update test

improved reduce_vars & binary operands produce more optimal results
This commit is contained in:
alexlamsl 2017-01-26 19:46:45 +08:00
parent 1eaa211e09
commit ec322df1ba

View File

@ -76,6 +76,7 @@ constant_join_2: {
for_loop: {
options = {
unsafe : true,
unused : true,
evaluate : true,
reduce_vars : true
};
@ -110,7 +111,7 @@ for_loop: {
function f1() {
var a = [1, 2, 3];
for (var i = 0, len = 3; i < len; i++)
for (var i = 0; i < 3; i++)
console.log(a[i]);
}