improve literal return optimization (#1860)

This commit is contained in:
kzc
2017-05-01 12:10:11 -04:00
committed by Alex Lam S.L
parent 2cb55b2ad0
commit ea9289771b
4 changed files with 55 additions and 12 deletions

View File

@@ -10,10 +10,6 @@ unary_prefix: {
return x;
}());
}
expect: {
console.log(function() {
return -2 / 3;
}());
}
expect_exact: "console.log(-2/3);"
expect_stdout: true
}