[JS IR] Drop TemporaryAssignmentElimination optimization

Enable TemporaryAssignment tests
This commit is contained in:
Alexander Korepanov
2023-07-05 15:30:00 +02:00
committed by Space Team
parent a79282cec1
commit 25f7b81d51
10 changed files with 47 additions and 330 deletions
@@ -3,22 +3,19 @@ function f(x) {
}
function testRegular() {
var result;
result = f("testRegular");
var result = f("testRegular");
return result;
}
function testIrregular() {
var result;
result = f("testIrregular");
var result = f("testIrregular");
return result;
}
function testDoubleUse1() {
var result;
var $b;
$b = f("testDoubleUse1");
result = $b;
var result = $b;
f($b);
return result;
}
@@ -32,10 +29,9 @@ function testDoubleUse2() {
}
function testDoubleUse3() {
var result;
var $a;
$a = f("testDoubleUse3");
result = $a;
var result = $a;
f($a);
return result;
}
@@ -68,4 +64,4 @@ function box() {
if (result != "testCircular") return "failCircular: " + result;
return "OK"
}
}