Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
ftl-osr-exit-stack-overflow-phantom-array.js
blob: 5ee9461a1546cd2c6d4c167e8fd2b0f8c8b69323 [
file
] [
edit
]
//@ runDefault("--watchdog=1000", "--watchdog-exception-ok")
function
opt
()
{
const
arr
=
Array
(
10
);
arr
[
0
]
=
0
;
function
foo
()
{
return
arr
;
}
try
{
opt
();
opt
();
}
catch
(
e
)
{
}
}
for
(
let i
=
0
;
i
<
100000
;
i
++)
opt
();