Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index b2865dcbdf323b6829fec9e02d2f262036fcd0c1..6fe97e47789023dd776c9d70ab4f1210890869a8 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); |
} |
} |