| Index: src/compiler-dispatcher/compiler-dispatcher-job.cc
|
| diff --git a/src/compiler-dispatcher/compiler-dispatcher-job.cc b/src/compiler-dispatcher/compiler-dispatcher-job.cc
|
| index fbf91ab7417a905805a7dd7aff968936798bf883..41805b44233ec5d6d9cf5726d31b47669e08a69c 100644
|
| --- a/src/compiler-dispatcher/compiler-dispatcher-job.cc
|
| +++ b/src/compiler-dispatcher/compiler-dispatcher-job.cc
|
| @@ -69,6 +69,13 @@ void CompilerDispatcherJob::PrepareToParseOnMainThread() {
|
| parse_info_->set_hash_seed(isolate_->heap()->HashSeed());
|
| parse_info_->set_unicode_cache(unicode_cache_.get());
|
| parser_.reset(new Parser(parse_info_.get()));
|
| + Scope* script_scope = parser_->NewScriptScope();
|
| + parse_info_->set_script_scope(script_scope);
|
| + script_scope = Scope::DeserializeScopeChain(
|
| + isolate_, zone_.get(), function_->context(), script_scope,
|
| + parse_info_->ast_value_factory(),
|
| + Scope::DeserializationMode::kDeserializeOffHeap);
|
| + parser_->set_original_scope(script_scope);
|
| status_ = CompileJobStatus::kReadyToParse;
|
| }
|
|
|
|
|