Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 0b39faab3296f7f280baeff85be8d84f5f87a3ef..4c1c0da411b88ad50e4e1743f937647159a7fd3d 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2500,8 +2500,8 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
Handle<Object> value = Handle<Object>(properties->ValueAt(i), |
isolate()); |
ASSERT(!value->IsCell()); |
- if (value->IsJSGlobalPropertyCell()) { |
- value = Handle<Object>(JSGlobalPropertyCell::cast(*value)->value(), |
+ if (value->IsPropertyCell()) { |
+ value = Handle<Object>(PropertyCell::cast(*value)->value(), |
isolate()); |
} |
PropertyDetails details = properties->DetailsAt(i); |