Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 83f4f1acd4da81e2f15c9ca3aabbf45c13def383..2f0732f036e06d220fc2baeb22b08e686687bae4 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2189,6 +2189,10 @@ class JSObject: public JSReceiver { |
DECL_ACCESSORS(elements, FixedArrayBase) |
inline void initialize_elements(); |
MUST_USE_RESULT inline MaybeObject* ResetElements(); |
+ static void ResetElements(Handle<JSObject> object); |
+ static inline void SetMapAndElements(Handle<JSObject> object, |
+ Handle<Map> map, |
+ Handle<FixedArrayBase> elements); |
inline ElementsKind GetElementsKind(); |
inline ElementsAccessor* GetElementsAccessor(); |
// Returns true if an object has elements of FAST_SMI_ELEMENTS ElementsKind. |
@@ -2237,11 +2241,6 @@ class JSObject: public JSReceiver { |
bool HasDictionaryArgumentsElements(); |
inline SeededNumberDictionary* element_dictionary(); // Gets slow elements. |
- inline void set_map_and_elements( |
- Map* map, |
- FixedArrayBase* value, |
- WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
- |
// Requires: HasFastElements(). |
static Handle<FixedArray> EnsureWritableFastElements( |
Handle<JSObject> object); |