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