Index: src/runtime/runtime-classes.cc |
diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc |
index c485759a191ba7fbab6e5755293830a53f5b6108..97661113ad75ce494957d2a76da2e39626f885dd 100644 |
--- a/src/runtime/runtime-classes.cc |
+++ b/src/runtime/runtime-classes.cc |
@@ -380,7 +380,7 @@ RUNTIME_FUNCTION(Runtime_LoadKeyedFromSuper) { |
Handle<Name> name; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, name, |
- Runtime::ToName(isolate, key)); |
+ Object::ToName(isolate, key)); |
// TODO(verwaest): Unify using LookupIterator. |
if (name->AsArrayIndex(&index)) { |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
@@ -477,7 +477,7 @@ static Object* StoreKeyedToSuper(Isolate* isolate, Handle<JSObject> home_object, |
} |
Handle<Name> name; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, name, |
- Runtime::ToName(isolate, key)); |
+ Object::ToName(isolate, key)); |
// TODO(verwaest): Unify using LookupIterator. |
if (name->AsArrayIndex(&index)) { |
return StoreElementToSuper(isolate, home_object, receiver, index, value, |