Sign in
webkit
/
WebKit
/
502dd1b02b10055f391d86534f6848e8f9967d2c
/
.
/
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
);
}