Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 24c9655a394d2834dae2ee86fb14e6ed0774c43f..bfc5af67727ae10953f4d6436912b63284a9ab7b 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -5964,6 +5964,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( |