repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
abc-forward-loop-equal.js
blob
bed363ec4fd8f2ee7db9f0b1d554742068c003cc
1
function
foo
(
array
) {
2
var
result
=
0
;
3
for
(
var
i
=
0
;
i
!=
array
.
length
; ++
i
)
4
result
+=
array
[
i
];
5
return
result
;
6
}
7
8
noInline
(
foo
);
9
10
var
array
= [];
11
for
(
var
i
=
0
;
i
<
1000
; ++
i
)
12
array
.
push
(
i
);
13
for
(
var
i
=
0
;
i
<
50000
; ++
i
)
14
foo
(
array
);