Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testApplySpeculationFailInCompiler.js
blob: 8a79a5cf5ecbd72cb0879966831b409b86b3db5c [
file
] [
log
] [
blame
]
function
baz
(
i
)
{
return
i
}
function
bar
(
x
,
y
)
{
return
baz
.
apply
(
null
,
x
?
y
:
arguments
)
}
var
s
;
for
(
var
i
=
0
;
i
<
1000
;
++
i
)
s
=
bar
(
true
,
[
42
]);
assertEq
(
s
,
42
);