Sign in
webkit
/
WebKit
/
41419438b681f832b2c71541303b7213480702be
/
.
/
JSTests
/
microbenchmarks
/
abc-postfix-backward-loop.js
blob: 5573d2f2c8dd2aad21444d75361e3ef1b641c8cb [
file
] [
log
] [
blame
]
function
foo
(
array
)
{
var
result
=
0
;
for
(
var
i
=
array
.
length
;
i
--;)
result
+=
array
[
i
];
return
result
;
}
noInline
(
foo
);
var
array
=
[];
for
(
var
i
=
0
;
i
<
1000
;
++
i
)
array
.
push
(
i
);
for
(
var
i
=
0
;
i
<
50000
;
++
i
)
foo
(
array
);