Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index f4d2fc892d205f7aa920e0da61be3dc49a2f8a91..d0d67357a45dfd23fbc6e88548a832cd7db0fe43 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -2614,6 +2614,7 @@ class JSObject: public JSReceiver { |
| int index); |
| inline Object* RawFastPropertyAt(int index); |
| inline void FastPropertyAtPut(int index, Object* value); |
| + void WriteToField(int descriptor, Object* value); |
| // Access to in object properties. |
| inline int GetInObjectPropertyOffset(int index); |
| @@ -2902,6 +2903,11 @@ class JSObject: public JSReceiver { |
| ValueType value_type, |
| TransitionFlag flag); |
| + static void MigrateToNewProperty(Handle<JSObject> object, |
| + Handle<Map> transition, |
| + Handle<Object> value); |
| + |
| + |
|
Igor Sheludko
2014/04/16 09:50:03
Extra empty line?
|
| // Add a property to a slow-case object. |
| static void AddSlowProperty(Handle<JSObject> object, |
| Handle<Name> name, |