Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0d5bec546c301422b6871551f917f633d3c8379d..8e7206ff05ad0aafe60a0f2ad44ab46858e52533 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1854,7 +1854,10 @@ class JSObject: public JSReceiver { |
// map and the ElementsKind set. |
static Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
ElementsKind to_kind); |
- MUST_USE_RESULT MaybeObject* GetElementsTransitionMap( |
+ inline MUST_USE_RESULT MaybeObject* GetElementsTransitionMap( |
+ Isolate* isolate, |
+ ElementsKind elements_kind); |
+ MUST_USE_RESULT MaybeObject* GetElementsTransitionMapSlow( |
ElementsKind elements_kind); |
static Handle<Object> TransitionElementsKind(Handle<JSObject> object, |
@@ -5568,6 +5571,7 @@ class JSFunction: public JSObject { |
// The initial map for an object created by this constructor. |
inline Map* initial_map(); |
inline void set_initial_map(Map* value); |
+ inline MaybeObject* set_initial_map_and_cache_transitions(Map* value); |
inline bool has_initial_map(); |
// Get and set the prototype property on a JSFunction. If the |
@@ -5578,7 +5582,7 @@ class JSFunction: public JSObject { |
inline bool has_instance_prototype(); |
inline Object* prototype(); |
inline Object* instance_prototype(); |
- Object* SetInstancePrototype(Object* value); |
+ MaybeObject* SetInstancePrototype(Object* value); |
MUST_USE_RESULT MaybeObject* SetPrototype(Object* value); |
// After prototype is removed, it will not be created when accessed, and |