Sign in
webkit
/
WebKit
/
fd79f2a4935c68cf089ff37005bc0c4762152d8d
/
.
/
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
;