Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 23924ca3979919882200fd3632aa962920e58ce0..89d6370534e5883cb32cefd542f3fba805901165 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -2152,6 +2152,13 @@ class JSObject: public JSReceiver { |
| StoreFromKeyed store_mode = MAY_BE_STORE_FROM_KEYED, |
| ExecutableAccessorInfoHandling handling = DEFAULT_HANDLING); |
| + static void InitializeProperty(Handle<JSObject> object, |
|
rossberg
2014/06/27 10:51:02
As discussed offline, it'd be nicer to call this A
Toon Verwaest
2014/06/30 11:39:38
Done.
|
| + Handle<Name> key, |
| + Handle<Object> value, |
| + PropertyAttributes attributes, |
| + ValueType value_type = OPTIMAL_REPRESENTATION, |
| + StoreMode mode = ALLOW_AS_CONSTANT); |
| + |
| // Extend the receiver with a single fast property appeared first in the |
| // passed map. This also extends the property backing store if necessary. |
| static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map); |