Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 50e8176c2f7bd6dfdf9a4fd18a2786eba04bf552..4edbd2165f6691eb8d687961575c068c55cad5df 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1162,18 +1162,17 @@ bool Object::HasSpecificClassOf(String* name) { |
MaybeHandle<Object> Object::GetProperty(Handle<Object> object, |
- Handle<Name> name, |
- LanguageMode language_mode) { |
+ Handle<Name> name) { |
LookupIterator it(object, name); |
- return GetProperty(&it, language_mode); |
+ return GetProperty(&it); |
} |
-MaybeHandle<Object> Object::GetElement(Isolate* isolate, Handle<Object> object, |
- uint32_t index, |
- LanguageMode language_mode) { |
+MaybeHandle<Object> Object::GetElement(Isolate* isolate, |
+ Handle<Object> object, |
+ uint32_t index) { |
LookupIterator it(isolate, object, index); |
- return GetProperty(&it, language_mode); |
+ return GetProperty(&it); |
} |
@@ -1190,11 +1189,11 @@ Handle<Object> Object::GetPrototypeSkipHiddenPrototypes( |
} |
-MaybeHandle<Object> Object::GetProperty(Isolate* isolate, Handle<Object> object, |
- const char* name, |
- LanguageMode language_mode) { |
+MaybeHandle<Object> Object::GetProperty(Isolate* isolate, |
+ Handle<Object> object, |
+ const char* name) { |
Handle<String> str = isolate->factory()->InternalizeUtf8String(name); |
- return GetProperty(object, str, language_mode); |
+ return GetProperty(object, str); |
} |
@@ -6552,11 +6551,10 @@ String* String::GetForwardedInternalizedString() { |
MaybeHandle<Object> Object::GetPropertyOrElement(Handle<Object> object, |
- Handle<Name> name, |
- LanguageMode language_mode) { |
+ Handle<Name> name) { |
LookupIterator it = |
LookupIterator::PropertyOrElement(name->GetIsolate(), object, name); |
- return GetProperty(&it, language_mode); |
+ return GetProperty(&it); |
} |