Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index a51a9b117e7a1969acb146e047175eaf1ac4740e..0b39faab3296f7f280baeff85be8d84f5f87a3ef 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2499,6 +2499,7 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
Handle<Name> key = Handle<Name>(Name::cast(raw_key)); |
Handle<Object> value = Handle<Object>(properties->ValueAt(i), |
isolate()); |
+ ASSERT(!value->IsCell()); |
if (value->IsJSGlobalPropertyCell()) { |
value = Handle<Object>(JSGlobalPropertyCell::cast(*value)->value(), |
isolate()); |