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