Commit 763c68e4 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[runtime] Remove Runtime::KeyedGetObjectProperty function.

R=conradw@chromium.org

Review URL: https://codereview.chromium.org/1317033009

Cr-Commit-Position: refs/heads/master@{#30675}
parent 5e156798
......@@ -49,8 +49,9 @@ MaybeHandle<Object> Runtime::GetObjectProperty(Isolate* isolate,
}
MaybeHandle<Object> Runtime::KeyedGetObjectProperty(
Isolate* isolate, Handle<Object> receiver_obj, Handle<Object> key_obj,
static MaybeHandle<Object> KeyedGetObjectProperty(Isolate* isolate,
Handle<Object> receiver_obj,
Handle<Object> key_obj,
LanguageMode language_mode) {
// Fast cases for getting named properties of the receiver JSObject
// itself.
......@@ -125,7 +126,8 @@ MaybeHandle<Object> Runtime::KeyedGetObjectProperty(
}
// Fall back to GetObjectProperty.
return GetObjectProperty(isolate, receiver_obj, key_obj, language_mode);
return Runtime::GetObjectProperty(isolate, receiver_obj, key_obj,
language_mode);
}
......@@ -520,7 +522,7 @@ RUNTIME_FUNCTION(Runtime_KeyedGetProperty) {
Handle<Object> result;
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
isolate, result,
Runtime::KeyedGetObjectProperty(isolate, receiver_obj, key_obj, SLOPPY));
KeyedGetObjectProperty(isolate, receiver_obj, key_obj, SLOPPY));
return *result;
}
......@@ -535,7 +537,7 @@ RUNTIME_FUNCTION(Runtime_KeyedGetPropertyStrong) {
Handle<Object> result;
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
isolate, result,
Runtime::KeyedGetObjectProperty(isolate, receiver_obj, key_obj, STRONG));
KeyedGetObjectProperty(isolate, receiver_obj, key_obj, STRONG));
return *result;
}
......
......@@ -1172,10 +1172,6 @@ class Runtime : public AllStatic {
Isolate* isolate, Handle<Object> object, Handle<Object> key,
LanguageMode language_mode = SLOPPY);
MUST_USE_RESULT static MaybeHandle<Object> KeyedGetObjectProperty(
Isolate* isolate, Handle<Object> receiver_obj, Handle<Object> key_obj,
LanguageMode language_mode);
enum TypedArrayId {
// arrayIds below should be synchronized with typedarray.js natives.
ARRAY_ID_UINT8 = 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment