Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
recompile
/
bug658211.js
blob: 02de2925917b41de175eab25a12f710596a90c0c [
file
] [
log
] [
blame
]
function
foo
(
x
)
{
return
bar
(
x
);
}
function
bar
(
x
)
{
return
x
.
f
+
10
;
}
var
g
=
Object
();
g
.
f
=
10
;
assertEq
(
foo
(
g
),
20
);
assertEq
(
foo
(
g
),
20
);
assertEq
(
foo
(
g
),
20
);
eval
(
"g.f = 'three'"
);
assertEq
(
foo
(
g
),
'three10'
);