| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index ae10b6f5623bfe396ba96cb69145ace6eba16614..55b5b3141e1b723f72ce1c5fad5c7ebfd1b38b62 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1488,9 +1488,8 @@
|
| Handle<String> script_name =
|
| isolate->factory()->NewStringFromUtf8(name).ToHandleChecked();
|
| Handle<SharedFunctionInfo> function_info = Compiler::CompileScript(
|
| - source, script_name, 0, 0, ScriptOriginOptions(), Handle<Object>(),
|
| - context, NULL, NULL, ScriptCompiler::kNoCompileOptions, NATIVES_CODE,
|
| - false);
|
| + source, script_name, 0, 0, false, false, Handle<Object>(), context, NULL,
|
| + NULL, ScriptCompiler::kNoCompileOptions, NATIVES_CODE, false);
|
|
|
| DCHECK(context->IsNativeContext());
|
|
|
| @@ -1533,9 +1532,9 @@
|
| Handle<String> script_name =
|
| factory->NewStringFromUtf8(name).ToHandleChecked();
|
| function_info = Compiler::CompileScript(
|
| - source, script_name, 0, 0, ScriptOriginOptions(), Handle<Object>(),
|
| - context, extension, NULL, ScriptCompiler::kNoCompileOptions,
|
| - NOT_NATIVES_CODE, false);
|
| + source, script_name, 0, 0, false, false, Handle<Object>(), context,
|
| + extension, NULL, ScriptCompiler::kNoCompileOptions, NOT_NATIVES_CODE,
|
| + false);
|
| if (function_info.is_null()) return false;
|
| cache->Add(name, function_info);
|
| }
|
|
|