[JS] Disable special checks in labeled-block-to-do-while
This commit is contained in:
+8
-6
@@ -7,12 +7,14 @@ function box() {
|
|||||||
var f = functions[i];
|
var f = functions[i];
|
||||||
var result = f();
|
var result = f();
|
||||||
|
|
||||||
if (f.toString().indexOf("label: do {") < 0) {
|
// Disabled check to run js optimizer tests using V8.
|
||||||
// http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
|
// Created the issue KT-39337 to address it separately.
|
||||||
if (result === "OK") return "Looks like JDK-8177691 fixed for " + f;
|
// if (f.toString().indexOf("label: do {") < 0) {
|
||||||
if (result !== void 0) return "Result of function changed: " + f;
|
// // See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
|
||||||
}
|
// if (result === "OK") return "Looks like JDK-8177691 fixed for " + f;
|
||||||
else if (result !== "OK") {
|
// if (result !== void 0) return "Result of function changed: " + f;
|
||||||
|
// }
|
||||||
|
if (result !== "OK") {
|
||||||
return "fail on " + f
|
return "fail on " + f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-6
@@ -7,12 +7,14 @@ function box() {
|
|||||||
var f = functions[i];
|
var f = functions[i];
|
||||||
var result = f();
|
var result = f();
|
||||||
|
|
||||||
if (f.toString().indexOf("label: do {") < 0) {
|
// Disabled check to run js optimizer tests using V8.
|
||||||
// See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
|
// Created the issue KT-39337 to address it separately.
|
||||||
if (result === "OK") return "Looks like JDK-8177691 fixed for " + f;
|
// if (f.toString().indexOf("label: do {") < 0) {
|
||||||
if (result !== void 0) return "Result of function changed: " + f;
|
// // See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
|
||||||
}
|
// if (result === "OK") return "Looks like JDK-8177691 fixed for " + f;
|
||||||
else if (result !== "OK") {
|
// if (result !== void 0) return "Result of function changed: " + f;
|
||||||
|
// }
|
||||||
|
if (result !== "OK") {
|
||||||
return "fail on " + f
|
return "fail on " + f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user