JS/Inlining: rename IneffectiveStatementElimination to RedundantStatementElimination
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
var log = "";
|
||||
|
||||
function se(x) {
|
||||
log += x;
|
||||
return x;
|
||||
}
|
||||
|
||||
function test(param) {
|
||||
se("test:" + param);
|
||||
}
|
||||
|
||||
function box() {
|
||||
test(23);
|
||||
if (log != "test:23") return "fail: " + log;
|
||||
return "OK";
|
||||
}
|
||||
Reference in New Issue
Block a user