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