Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 0e95b4b83974334a6419cabc95e600877def9a2b..617881555f53c4a520a21f9686f819bb2e0569c3 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2159,7 +2159,7 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
Handle<DescriptorArray> descs = |
Handle<DescriptorArray>(from->map()->instance_descriptors()); |
for (int i = 0; i < descs->number_of_descriptors(); i++) { |
- PropertyDetails details = PropertyDetails(descs->GetDetails(i)); |
+ PropertyDetails details = descs->GetDetails(i); |
switch (details.type()) { |
case FIELD: { |
HandleScope inner; |