| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index ac9e029e4a1acc6a38fea6caea313ef995f5750e..4000548c5b4a860faa940725fa573e3380ba0aa7 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -3973,7 +3973,7 @@ MaybeObject* Heap::AllocateGlobalObject(JSFunction* constructor) {
|
| // Fill these accessors into the dictionary.
|
| DescriptorArray* descs = map->instance_descriptors();
|
| for (int i = 0; i < descs->number_of_descriptors(); i++) {
|
| - PropertyDetails details(descs->GetDetails(i));
|
| + PropertyDetails details = descs->GetDetails(i);
|
| ASSERT(details.type() == CALLBACKS); // Only accessors are expected.
|
| PropertyDetails d =
|
| PropertyDetails(details.attributes(), CALLBACKS, details.index());
|
|
|