Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index 1a421268330edbfd8d7fbee64640e2458605f3f5..e03b85028fe1365a36c8b8f2b9d9db42ccff1b7c 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -1006,7 +1006,7 @@ 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())) { |
+ if (Name::Equals(symbol, isolate->factory()->iterator_symbol())) { |
return isolate->native_context()->array_values_iterator(); |
} |
// Lookup in the initial Object.prototype object. |