Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testDecayingInnerLoop.js
blob: 92e985cd6c878414862ccfeae9f3567a7cef12f5 [
file
] [
log
] [
blame
]
function
testDecayingInnerLoop
()
{
var
i
,
j
,
k
=
10
;
for
(
i
=
0
;
i
<
5000
;
++
i
)
{
for
(
j
=
0
;
j
<
k
;
++
j
);
--
k
;
}
return
i
;
}
assertEq
(
testDecayingInnerLoop
(),
5000
);