Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 4823243f2384b510771dd53a76dfa3bdb80c9471..c2788dd49f00d119b8d5181fbaecd5661ab3e81e 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -1694,9 +1694,6 @@ class JSReceiver: public HeapObject { |
| // Forward declaration for JSObject::GetOrCreateHiddenPropertiesHashTable. |
| class ObjectHashTable; |
| -// Forward declaration for JSObject::Copy. |
| -class AllocationSite; |
| - |
| // The JSObject describes real heap allocated JavaScript objects with |
| // properties. |
| @@ -1733,6 +1730,7 @@ class JSObject: public JSReceiver { |
| DECL_ACCESSORS(elements, FixedArrayBase) |
| inline void initialize_elements(); |
| static void ResetElements(Handle<JSObject> object); |
| + static void ResetProperties(Handle<JSObject> object); |
|
Jakob Kummerow
2015/05/11 15:25:26
I see no implementation and no callers of this.
|
| static inline void SetMapAndElements(Handle<JSObject> object, |
| Handle<Map> map, |
| Handle<FixedArrayBase> elements); |
| @@ -2157,7 +2155,6 @@ class JSObject: public JSReceiver { |
| // Copy object. |
| enum DeepCopyHints { kNoHints = 0, kObjectIsShallow = 1 }; |
| - static Handle<JSObject> Copy(Handle<JSObject> object); |
| MUST_USE_RESULT static MaybeHandle<JSObject> DeepCopy( |
| Handle<JSObject> object, |
| AllocationSiteUsageContext* site_context, |