Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index d00df71576bf27edcee2131a8c0cd5656e314d8c..6c57c18f6a7712c897b0d21249a8525c2b549bc0 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -472,9 +472,9 @@ static bool IterateElementsSlow(Isolate* isolate, Handle<JSObject> receiver, |
if (!maybe.IsJust()) return false; |
if (maybe.FromJust()) { |
Handle<Object> element_value; |
- ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
- isolate, element_value, |
- Runtime::GetElementOrCharAt(isolate, receiver, i), false); |
+ ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, element_value, |
+ Object::GetElement(isolate, receiver, i), |
+ false); |
visitor->visit(i, element_value); |
} |
} |