Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index c82ed5ea5f8ca9ead0e4164bcd370db2d9176d34..ee3525ac6be2340155d222c6c5b83c12f14aeb1e 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1128,6 +1128,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Isolate* isolate = global_object->GetIsolate(); |
Factory* factory = isolate->factory(); |
+ native_context()->set_osr_code_table(*factory->empty_fixed_array()); |
+ |
Handle<ScriptContextTable> script_context_table = |
factory->NewScriptContextTable(); |
native_context()->set_script_context_table(*script_context_table); |