Sign in
webkit
/
WebKit
/
919aeb989a73073e2f1d75e53d7d882b3cc61ca8
/
.
/
JSTests
/
stress
/
create-direct-arguments-in-osr-should-initialize-to-undefined.js
blob: 6c7904836c270b1d070be2d0cf71c9da1f9a2ae6 [
file
] [
log
] [
blame
]
// This should not crash.
function
foo
(
a
,
b
)
{
let x
=
arguments
;
OSRExit
();
return
a
+
b
;
}
function
bar
(
b
)
{
if
(
b
)
foo
();
}
noInline
(
bar
);
for
(
let i
=
0
;
i
<
1000
;
++
i
)
{
bar
(
true
);
}