Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 3ca89f08eab202ebf9e14531795a7fed54cd3f60..f560d94067c4b735578d9100f8efeeb3267b1895 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1096,6 +1096,13 @@ class Object : public MaybeObject { |
Handle<Name> key, |
PropertyAttributes* attributes); |
+ MUST_USE_RESULT static MaybeObject* GetPropertyOrFail( |
+ Handle<Object> object, |
+ Handle<Object> receiver, |
+ LookupResult* result, |
+ Handle<Name> key, |
+ PropertyAttributes* attributes); |
+ |
MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver, |
LookupResult* result, |
Name* key, |
@@ -1569,6 +1576,15 @@ class JSReceiver: public HeapObject { |
Handle<Object> value, |
PropertyAttributes attributes, |
StrictModeFlag strict_mode); |
+ |
+ MUST_USE_RESULT static MaybeObject* SetPropertyOrFail( |
+ Handle<JSReceiver> object, |
+ Handle<Name> key, |
+ Handle<Object> value, |
+ PropertyAttributes attributes, |
+ StrictModeFlag strict_mode, |
+ StoreFromKeyed store_from_keyed = MAY_BE_STORE_FROM_KEYED); |
+ |
// Can cause GC. |
MUST_USE_RESULT MaybeObject* SetProperty( |
Name* key, |