Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 8cd87fa82ad742f567514a0d2753ac4976f160fa..2d4d4b6bce979961ea414587ffb0032325d9a013 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); |