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