Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 1ec8afe9abaaa353cbe365bcfb70f5f0928ae9c5..35f41d101647e8e8f6407a82e20979810d12356e 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2577,6 +2577,8 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
JSObject::AddProperty(to, key, constant, details.attributes()); |
break; |
} |
+ case ACCESSOR_FIELD: |
+ UNREACHABLE(); |
case CALLBACKS: { |
Handle<Name> key(descs->GetKey(i)); |
LookupIterator it(to, key, LookupIterator::OWN_SKIP_INTERCEPTOR); |
@@ -2615,6 +2617,7 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
isolate()); |
} |
PropertyDetails details = properties->DetailsAt(i); |
+ DCHECK_EQ(DATA, details.kind()); |
JSObject::AddProperty(to, key, value, details.attributes()); |
} |
} |