Sign in
webkit
/
WebKit
/
b387ed984cfa86e07321d6d915fc6d801afbcecc
/
.
/
JSTests
/
microbenchmarks
/
abc-forward-loop-equal.js
blob: bed363ec4fd8f2ee7db9f0b1d554742068c003cc [
file
] [
log
] [
blame
]
function
foo
(
array
)
{
var
result
=
0
;
for
(
var
i
=
0
;
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
);