Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index f1d94e85bc2a316b928d30b21b4a878e71ec8141..c5915fc66e51529e71b628f7654cb7e8efb4d1ff 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1737,7 +1737,7 @@ Handle<JSGlobalObject> Factory::NewJSGlobalObject( |
PropertyDetails details = descs->GetDetails(i); |
// Only accessors are expected. |
DCHECK_EQ(kAccessor, details.kind()); |
- PropertyDetails d(details.attributes(), ACCESSOR_CONSTANT, i + 1, |
+ PropertyDetails d(kAccessor, details.attributes(), i + 1, |
PropertyCellType::kMutable); |
Handle<Name> name(descs->GetKey(i)); |
Handle<PropertyCell> cell = NewPropertyCell(); |