Sign in
webkit
/
WebKit
/
8de09782621a8d8b47ef684da5e0e163b556e859
/
.
/
JSTests
/
stress
/
new-array-buffer-sinking-osrexit.js
blob: a95c3266de4cf85cce07c8a1b5055d8f8d01f26e [
file
] [
log
] [
blame
]
function
target
(
p
,
a0
,
a1
,
a2
,
a3
,
a4
,
a5
)
{
if
(
p
)
OSRExit
();
return
a5
}
function
test
(
p
)
{
var
array
=
[
1
,
2
,
3
,
4
,
5
];
return
target
(
p
,
...
array
);
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
test
(
false
);
test
(
true
);