Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 264d1c6faf0ffd9daf8ae3024dd3e2bef1c4b74a..13dd07a96c2bdb63203272318dd83948aa6e4090 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -908,6 +908,10 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> global_object, |
Factory* factory = isolate->factory(); |
Heap* heap = isolate->heap(); |
+ Handle<GlobalContextTable> global_context_table = |
+ factory->NewGlobalContextTable(); |
+ native_context()->set_global_context_table(*global_context_table); |
+ |
Handle<String> object_name = factory->Object_string(); |
JSObject::AddProperty( |
global_object, object_name, isolate->object_function(), DONT_ENUM); |