| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 21f3ec0e2b71432b82cb9d96543d84595332abcd..713dbb3af1a9cda012b180d2cd9d3eac3ee791ac 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1495,6 +1495,7 @@ bool Genesis::CompileNative(Isolate* isolate, Vector<const char> name,
|
| Handle<SharedFunctionInfo> function_info = Compiler::CompileScript(
|
| source, script_name, 0, 0, false, false, Handle<Object>(), context, NULL,
|
| NULL, ScriptCompiler::kNoCompileOptions, NATIVES_CODE, false);
|
| + if (function_info.is_null()) return false;
|
|
|
| DCHECK(context->IsNativeContext());
|
|
|
|
|