Sign in
webkit
/
WebKit
/
4a12667b4cecb17e84375f8db50c9b2d39b06fe4
/
.
/
JSTests
/
microbenchmarks
/
cell-argument.js
blob: 93c714b7016446e60d1f77496a34fcf6d9191f93 [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
var
result
=
0
;
for
(
var
i
=
0
;
i
<
5000
;
++
i
)
result
+=
o
.
f
;
return
result
;
}
var
o
=
{
f
:
42
};
var
result
=
0
;
for
(
var
i
=
0
;
i
<
1000
;
++
i
)
result
+=
foo
(
o
);
if
(
result
!=
210000000
)
throw
"Error: bad result: "
+
result
;