Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index be18b3b7a182f010a177b875ab000002d4b8a31a..a52e9afa7c35aa7b4b846fdb7da5edf083a633fb 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -414,7 +414,7 @@ void LookupIterator::WriteDataValue(Handle<Object> value) { |
Handle<JSObject> holder = GetHolder<JSObject>(); |
if (IsElement()) { |
ElementsAccessor* accessor = holder->GetElementsAccessor(); |
- accessor->Set(holder->elements(), index_, *value); |
+ accessor->Set(holder->elements(), number_, *value); |
} else if (holder->IsGlobalObject()) { |
Handle<GlobalDictionary> property_dictionary = |
handle(holder->global_dictionary()); |