Chromium Code Reviews| Index: src/d8.cc |
| diff --git a/src/d8.cc b/src/d8.cc |
| index 3b9c183c2ad709114911e54b90d401b5f4045bbc..780b0c0716e5d8b0dd4fc86197dc84fa0810d0ba 100644 |
| --- a/src/d8.cc |
| +++ b/src/d8.cc |
| @@ -740,6 +740,7 @@ Persistent<Context> Shell::CreateEvaluationContext() { |
| // 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 |