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