Index: src/d8.cc |
=================================================================== |
--- src/d8.cc (revision 8931) |
+++ src/d8.cc (working copy) |
@@ -740,6 +740,7 @@ |
// Initialize the global objects |
Handle<ObjectTemplate> global_template = CreateGlobalTemplate(); |
Persistent<Context> context = Context::New(NULL, global_template); |
+ ASSERT(!context.IsEmpty()); |
Context::Scope scope(context); |
#ifndef V8_SHARED |