mirror of
https://github.com/tc39/test262.git
synced 2025-05-21 07:10:27 +02:00
* [javascriptcore-test262-automation] changes from git@github.com:WebKit/webkit.git at sha 949e26452cfa153a7f4afe593da97e2fe9e1b706 on Tue Jul 03 2018 14:35:15 GMT-0400 (Eastern Daylight Time)
25 lines
478 B
JavaScript
25 lines
478 B
JavaScript
//@ runDefault("--jitPolicyScale=0", "--validateFTLOSRExitLiveness=1", "--useConcurrentJIT=0")
|
|
|
|
// This should not crash in liveness validation.
|
|
|
|
function baz() { }
|
|
noInline(baz);
|
|
|
|
function foo() {
|
|
let i, j;
|
|
let a0 = [0, 1];
|
|
let a1 = [];
|
|
for (i = 0; i < a0.length; i++) {
|
|
a1.push();
|
|
for (j = 0; j < 6; j++) {
|
|
}
|
|
for (j = 0; j < 4; j++) {
|
|
baz();
|
|
}
|
|
}
|
|
throw new Error();
|
|
}
|
|
try {
|
|
new foo();
|
|
} catch { }
|