Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index b2e09b40db5131dc56b46b619c844891028455db..c77364b55305019dffc757d789442bc5c9eca0ac 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3231,7 +3231,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()); |