Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 05cb259602edb00bcc9427dd75e69b82f9e30d55..e232d2c9254ffd2c854068746de97cdd1e4b8f8f 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -55,6 +55,7 @@ Handle<PrototypeInfo> Factory::NewPrototypeInfo() { |
Handle<PrototypeInfo> result = |
Handle<PrototypeInfo>::cast(NewStruct(PROTOTYPE_INFO_TYPE)); |
result->set_prototype_users(WeakFixedArray::Empty()); |
+ result->set_registry_slot(PrototypeInfo::UNREGISTERED); |
result->set_validity_cell(Smi::FromInt(0)); |
result->set_constructor_name(Smi::FromInt(0)); |
return result; |