Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index bbd69ecaba8a75956bc2cdd8d9821fbcab0edd3f..e1d4489d442526a54cec36de8eb9281075cce978 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -812,6 +812,9 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global, |
initial_map->set_instance_size( |
initial_map->instance_size() + 5 * kPointerSize); |
initial_map->set_instance_descriptors(*descriptors); |
+ initial_map->set_scavenger( |
+ Heap::GetScavenger(initial_map->instance_type(), |
+ initial_map->instance_size())); |
} |
{ // -- J S O N |