Sign in
webkit
/
WebKit
/
9a43d7e8bb9093ccc493831ef3377ee933abb11e
/
.
/
JSTests
/
stress
/
in-ftl-exception-check.js
blob: 7f5df01e1ebb58ab3a9755014cf47bcbf24e9870 [
file
] [
log
] [
blame
]
function
foo
(
a
)
{
return
bar
(
a
);
}
noFTL
(
foo
);
noInline
(
foo
);
function
bar
(
a
)
{
return
"bar"
in a
;
}
noInline
(
bar
);
for
(
let i
=
0
;
i
<
1000000
;
i
++)
{
if
(
foo
({}))
throw
new
Error
(
"bad"
);
}
try
{
foo
(
""
);
}
catch
(
e
)
{
}