| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index c97ba3db2d59ed3458505b1f359f3e8432db8a34..0d7e0da1b56f5d1989c9c0b981fd3a0568a14ab3 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -2155,15 +2155,6 @@ void LoadIndexedInterceptorStub::GenerateAssembly(
|
| }
|
|
|
| // static
|
| -bool FastCloneShallowObjectStub::IsSupported(ObjectLiteral* expr) {
|
| - // FastCloneShallowObjectStub doesn't copy elements, and object literals don't
|
| - // support copy-on-write (COW) elements for now.
|
| - // TODO(mvstanton): make object literals support COW elements.
|
| - return expr->fast_elements() && expr->has_shallow_properties() &&
|
| - expr->properties_count() <= kMaximumClonedProperties;
|
| -}
|
| -
|
| -// static
|
| int FastCloneShallowObjectStub::PropertiesCount(int literal_length) {
|
| // This heuristic of setting empty literals to have
|
| // kInitialGlobalObjectUnusedPropertiesCount must remain in-sync with the
|
|
|