Chromium Code Reviews| Index: src/factory.cc |
| diff --git a/src/factory.cc b/src/factory.cc |
| index 877b3f7c685750688f890c2c16b0e11a44193bc1..07dc8b5d09d18c097aaf38d4479f684296d178d1 100644 |
| --- a/src/factory.cc |
| +++ b/src/factory.cc |
| @@ -1770,7 +1770,7 @@ Handle<JSGlobalObject> Factory::NewJSGlobalObject( |
| for (int i = 0; i < map->NumberOfOwnDescriptors(); i++) { |
| PropertyDetails details = descs->GetDetails(i); |
| // Only accessors are expected. |
| - DCHECK_EQ(ACCESSOR_CONSTANT, details.type()); |
| + DCHECK_EQ(kAccessor, details.kind()); |
| PropertyDetails d(details.attributes(), ACCESSOR_CONSTANT, i + 1, |
|
Jakob Kummerow
2017/01/12 15:40:30
Doesn't this constructor get updated too?
Igor Sheludko
2017/01/12 15:52:31
Right. I'll update the PropertyDetails constructor
|
| PropertyCellType::kMutable); |
| Handle<Name> name(descs->GetKey(i)); |