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