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