Sign in
webkit
/
WebKit
/
b0d7f9b249dd6483d6c7bc4f13c440c0842b7127
/
.
/
JSTests
/
microbenchmarks
/
singleton-scope.js
blob: 2a8015e2bab7b6a87a14a966965304f503c698ab [
file
] [
log
] [
blame
]
function
foo
()
{
var
x
=
42
;
var
y
=
43
;
return
function
(
z
)
{
var
result
=
x
+
y
;
x
+=
z
;
y
+=
z
;
return
result
;
}
}
var
f
=
foo
();
noInline
(
f
);
for
(
var
i
=
0
;
i
<
10000000
;
++
i
)
f
(
1
);