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