| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 299b1d49fc0ecc8c3ab94b77b39683a268726a28..5717fc942598ce741e925e92ecbda874238d6e7c 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1411,8 +1411,7 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForScript(
|
| int column_offset, ScriptOriginOptions resource_options,
|
| Handle<Object> source_map_url, Handle<Context> context,
|
| v8::Extension* extension, ScriptData** cached_data,
|
| - ScriptCompiler::CompileOptions compile_options, NativesFlag natives,
|
| - bool is_module) {
|
| + ScriptCompiler::CompileOptions compile_options, NativesFlag natives) {
|
| Isolate* isolate = source->GetIsolate();
|
| if (compile_options == ScriptCompiler::kNoCompileOptions) {
|
| cached_data = NULL;
|
| @@ -1499,7 +1498,7 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForScript(
|
| Zone zone(isolate->allocator(), ZONE_NAME);
|
| ParseInfo parse_info(&zone, script);
|
| CompilationInfo info(&parse_info, Handle<JSFunction>::null());
|
| - if (is_module) parse_info.set_module();
|
| + if (resource_options.IsModule()) parse_info.set_module();
|
| if (compile_options != ScriptCompiler::kNoCompileOptions) {
|
| parse_info.set_cached_data(cached_data);
|
| }
|
|
|