Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 32ecf52e879b9421e36c32a06f9da4dea4c45a88..ea8b81c7b5c6d4f870313685a7437dc42317cb11 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -6011,6 +6011,10 @@ RUNTIME_FUNCTION(Runtime_GetArgumentsProperty) { |
HandleScope scope(isolate); |
if (raw_key->IsSymbol()) { |
+ Handle<Symbol> symbol = Handle<Symbol>::cast(raw_key); |
+ if (symbol->Equals(isolate->native_context()->iterator_symbol())) { |
+ return isolate->native_context()->array_values_iterator(); |
+ } |
// Lookup in the initial Object.prototype object. |
Handle<Object> result; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |