Sign in
webkit
/
WebKit
/
5c46bef7ab98d4e8242fd1cdbd4a8339e4d4801f
/
.
/
JSTests
/
stress
/
llint-proto-get-by-id-cache-intercept-value.js
blob: 0b90bea4d32a21e2e1ed82d764d4b4d9049e46d1 [
file
] [
log
] [
blame
]
let p
=
Object
.
create
({
foo
:
1
});
let o
=
Object
.
create
(
p
);
let other
=
{
foo
:
10
};
function
foo
()
{
return
o
.
foo
}
for
(
let i
=
0
;
i
<
10
;
i
++)
foo
();
p
.
foo
=
null
;
gc
();
if
(
foo
()
!==
null
)
throw
new
Error
(
"bad get by id access"
);