Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
getprop-idempotent-cache-1.js
blob: bddde433f68383e06dd07e55d8362a8713d0a2c4 [
file
] [
log
] [
blame
]
function
f
(
o
)
{
var
res
=
0
;
for
(
var
i
=
0
;
i
<
11000
;
i
++)
{
res
+=
o
.
x
;
}
return
res
;
}
function
O
(
x
)
{
if
(
x
)
this
.
x
=
10
;
}
f
(
new
O
(
true
));
// "o.x" is now missing so the idempotent cache should invalidate f.
f
(
new
O
(
false
));