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