Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 7942c7f8b5677d6ead7500928dc617a90bb4375e..7edc5d51e46bd90fdd6f7853a4d50c59751aa534 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1310,6 +1310,9 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global, |
delegate->shared()->DontAdaptArguments(); |
} |
+ // Initialize the out of memory slot. |
+ native_context()->set_out_of_memory(heap->false_value()); |
+ |
// Initialize the embedder data slot. |
Handle<FixedArray> embedder_data = factory->NewFixedArray(3); |
native_context()->set_embedder_data(*embedder_data); |