| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index a6c238c23a21a853af476346a6f79e9c45298aae..65f24900d58e84c188cb74c19d29021340b69adf 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -3918,8 +3918,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DefineOrRedefineDataProperty) {
|
| if (proto->IsNull()) return *obj_value;
|
| js_object = Handle<JSObject>::cast(proto);
|
| }
|
| - NormalizeElements(js_object);
|
| - Handle<NumberDictionary> dictionary(js_object->element_dictionary());
|
| + Handle<NumberDictionary> dictionary = NormalizeElements(js_object);
|
| // Make sure that we never go back to fast case.
|
| dictionary->set_requires_slow_elements();
|
| PropertyDetails details = PropertyDetails(attr, NORMAL);
|
|
|