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