Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
JSTests
/
microbenchmarks
/
add-tree.js
blob: 63eb446076e0e974e00d442a779656dbfa30a8b4 [
file
] [
log
] [
blame
]
for
(
var
i
=
0
;
i
<
20000000
;
++
i
)
{
var
result
=
i
+
1
;
result
+=
i
+
2
;
result
+=
i
+
3
;
result
+=
i
+
4
;
result
+=
i
+
5
;
result
+=
i
+
6
;
result
+=
i
+
7
;
if
(
result
!=
i
*
7
+
28
)
throw
"Error: bad result at iteration "
+
i
+
" : "
+
result
;
}