[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
@@ -1,10 +1,12 @@
function test(param) {
var $a;
var result;
if (param > 0) {
result = param;
$a = param;
} else {
result = -param;
$a = -param;
}
result = $a;
return result;
}
@@ -16,4 +18,4 @@ function box() {
if (result != 20) return "fail2: " + result;
return "OK"
}
}