Sign in
webkit
/
WebKit
/
ebbfb41f995647c93ad81540ba08c24e43676ad9
/
.
/
JSTests
/
stress
/
flatten-object-zero-unused-inline-properties.js
blob: 6fe5a14c4958b1bb2df691b182f09926d83aa290 [
file
] [
log
] [
blame
]
let o
=
{
foo
:
1
,
bar
:
2
,
baz
:
3
};
if
(
$vm
.
inlineCapacity
(
o
)
<=
3
)
throw
new
Error
(
"There should be inline capacity"
);
delete
o
.
foo
;
$vm
.
flattenDictionaryObject
(
o
);
o
.
foo
=
1
;