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