Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 70e219390964376ad583cc952b9d61d87fe6a58b..ac101e5579cc25465f6cb45647f8e183898d1bdb 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1168,7 +1168,8 @@ class Object { |
MUST_USE_RESULT static inline MaybeHandle<Smi> ToSmi(Isolate* isolate, |
Handle<Object> object); |
- MUST_USE_RESULT static MaybeHandle<Object> GetProperty(LookupIterator* it); |
+ MUST_USE_RESULT static MaybeHandle<Object> GetProperty( |
+ LookupIterator* it, LanguageMode language_mode = SLOPPY); |
// Implementation of [[Put]], ECMA-262 5th edition, section 8.12.5. |
MUST_USE_RESULT static MaybeHandle<Object> SetProperty( |
@@ -1184,10 +1185,15 @@ class Object { |
LookupIterator* it, Handle<Object> value, LanguageMode language_mode, |
StoreFromKeyed store_mode); |
+ MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty( |
+ LookupIterator* it, LanguageMode language_mode); |
+ MUST_USE_RESULT static MaybeHandle<Object> ReadAbsentProperty( |
+ Isolate* isolate, Handle<Object> receiver, Handle<Object> name, |
+ LanguageMode language_mode); |
MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty( |
LookupIterator* it, Handle<Object> value, LanguageMode language_mode); |
MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty( |
- Isolate* isolate, Handle<Object> reciever, Handle<Object> name, |
+ Isolate* isolate, Handle<Object> receiver, Handle<Object> name, |
Handle<Object> value, LanguageMode language_mode); |
MUST_USE_RESULT static MaybeHandle<Object> RedefineNonconfigurableProperty( |
Isolate* isolate, Handle<Object> name, Handle<Object> value, |
@@ -1198,16 +1204,17 @@ class Object { |
LookupIterator* it, Handle<Object> value, PropertyAttributes attributes, |
LanguageMode language_mode, StoreFromKeyed store_mode); |
MUST_USE_RESULT static inline MaybeHandle<Object> GetPropertyOrElement( |
- Handle<Object> object, Handle<Name> name); |
+ Handle<Object> object, Handle<Name> name, |
+ LanguageMode language_mode = SLOPPY); |
MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( |
- Isolate* isolate, |
- Handle<Object> object, |
- const char* key); |
+ Isolate* isolate, Handle<Object> object, const char* key, |
+ LanguageMode language_mode = SLOPPY); |
MUST_USE_RESULT static inline MaybeHandle<Object> GetProperty( |
- Handle<Object> object, Handle<Name> name); |
+ Handle<Object> object, Handle<Name> name, |
+ LanguageMode language_mode = SLOPPY); |
MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithAccessor( |
- LookupIterator* it); |
+ LookupIterator* it, LanguageMode language_mode); |
MUST_USE_RESULT static MaybeHandle<Object> SetPropertyWithAccessor( |
LookupIterator* it, Handle<Object> value, LanguageMode language_mode); |
@@ -1220,9 +1227,8 @@ class Object { |
Handle<Object> value); |
MUST_USE_RESULT static inline MaybeHandle<Object> GetElement( |
- Isolate* isolate, |
- Handle<Object> object, |
- uint32_t index); |
+ Isolate* isolate, Handle<Object> object, uint32_t index, |
+ LanguageMode language_mode = SLOPPY); |
static inline Handle<Object> GetPrototypeSkipHiddenPrototypes( |
Isolate* isolate, Handle<Object> receiver); |