| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 304d880d3da3017f3f21a8a3b39b3ccc9456c09f..33372a77161fd35d785c87358eab9ecd7680afb8 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -1727,8 +1727,8 @@ Local<Script> ScriptCompiler::Compile(Isolate* v8_isolate,
|
|
|
| // Do the parsing tasks which need to be done on the main thread. This will
|
| // also handle parse errors.
|
| - source->parser->Internalize();
|
| - source->parser->HandleSourceURLComments();
|
| + source->parser->Internalize(source->info.get());
|
| + source->parser->HandleSourceURLComments(source->info.get());
|
|
|
| i::Handle<i::SharedFunctionInfo> result =
|
| i::Handle<i::SharedFunctionInfo>::null();
|
|
|