[JS IR] Implement MoveTemporaryVariableDeclarationToAssignment optimization
This commit is contained in:
committed by
Space Team
parent
25f7b81d51
commit
524c475834
Vendored
+2
-3
@@ -1,9 +1,8 @@
|
||||
var result = "";
|
||||
|
||||
function box() {
|
||||
var $tmp;
|
||||
$tmp = result;
|
||||
var $tmp = result;
|
||||
result += "fail";
|
||||
result = $tmp + "OK";
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user