Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index e6f8a133123995a8191a3832a3c99cd6881e332d..855080c34869ea5b69d800df9f8f34ec626733aa 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2594,6 +2594,9 @@ Genesis::Genesis(Isolate* isolate, |
active_(isolate->bootstrapper()) { |
NoTrackDoubleFieldsForSerializerScope disable_scope(isolate); |
result_ = Handle<Context>::null(); |
+ // If V8 cannot be initialized, just return. |
+ if (!V8::Initialize(NULL)) return; |
+ |
// Before creating the roots we must save the context and restore it |
// on all function exits. |
SaveContext saved_context(isolate); |