Sign in
webkit
/
WebKit
/
6e2a77f8cb18067e3ef1240a3602dba85379b5cd
/
.
/
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
)
{
}