Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index fa1ae0259ad15a914afa4707bfa9aa423199ee4d..834870a454eabd85669d2e607210f3aa18ce9861 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -420,15 +420,14 @@ void LookupIterator::WriteDataValue(Handle<Object> value) { |
Handle<JSObject> holder = GetHolder<JSObject>(); |
if (IsElement()) { |
ElementsAccessor* accessor = holder->GetElementsAccessor(); |
- accessor->Set(handle(holder->elements()), index_, value); |
+ accessor->Set(holder->elements(), index_, *value); |
} else if (holder->IsGlobalObject()) { |
Handle<GlobalDictionary> property_dictionary = |
handle(holder->global_dictionary()); |
PropertyCell::UpdateCell(property_dictionary, dictionary_entry(), value, |
property_details_); |
} else if (holder_map_->is_dictionary_map()) { |
- Handle<NameDictionary> property_dictionary = |
- handle(holder->property_dictionary()); |
+ NameDictionary* property_dictionary = holder->property_dictionary(); |
property_dictionary->ValueAtPut(dictionary_entry(), *value); |
} else if (property_details_.type() == v8::internal::DATA) { |
holder->WriteToField(descriptor_number(), *value); |