Sign in
webkit
/
WebKit
/
2a0aecef68e2ca0674a52b051412def7e6b01404
/
.
/
JSTests
/
stress
/
has-static-property-property-condition-needs-to-check-if-structure-has-property.js
blob: a539951e52ac252d6d0a201decd864f45b4b29ce [
file
] [
log
] [
blame
]
let o
=
{};
let p
=
$vm
.
createStaticCustomValue
();
o
.
__proto__
=
p
;
function
foo
(
o
)
{
return
o
.
testStaticValue
;
}
noInline
(
foo
);
foo
(
o
);
foo
(
o
);
foo
(
o
);
foo
(
o
);
p
.
testStaticValue
=
42
;
for
(
let i
=
0
;
i
<
100
;
++
i
)
{
foo
(
o
);
}