Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index e1d4489d442526a54cec36de8eb9281075cce978..be87a0f8c4975991a11f9e998b4d4f34accfe022 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -36,6 +36,7 @@ |
#include "global-handles.h" |
#include "macro-assembler.h" |
#include "natives.h" |
+#include "objects-visiting.h" |
#include "snapshot.h" |
#include "stub-cache.h" |
@@ -812,9 +813,7 @@ 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())); |
+ initial_map->set_visitor_id(StaticVisitorBase::GetVisitorId(*initial_map)); |
} |
{ // -- J S O N |