Chromium Code Reviews| Index: src/bootstrapper.cc |
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
| index 264d1c6faf0ffd9daf8ae3024dd3e2bef1c4b74a..7273ad69e51359bf48485ba4724f213254fbe02c 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(1, 0); |
|
adamk
2014/11/06 20:18:05
This pair of numbers is a bit hard to read, and as
Dmitry Lomov (no reviews)
2014/11/07 10:18:47
Done, renamed to NewEmptyGlobalContextTable().
|
| + 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); |