| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index a6cbe661e23374f80ad0f7e422a5670a58c9707c..987b24bf3c658ffcc9e080ec8f5aa0343abc7230 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -457,10 +457,16 @@ CompilationJob::Status FinalizeUnoptimizedCompilationJob(CompilationJob* job) {
|
| CompilationJob::Status status = job->FinalizeJob();
|
| if (status == CompilationJob::SUCCEEDED) {
|
| CompilationInfo* info = job->info();
|
| + Isolate* isolate = info->isolate();
|
| EnsureFeedbackMetadata(info);
|
| + if (info->is_block_coverage_enabled()) {
|
| + DCHECK(info->has_coverage_info());
|
| + isolate->debug()->InstallCoverageInfo(info->shared_info(),
|
| + info->coverage_info());
|
| + }
|
| DCHECK(!info->code().is_null());
|
| if (info->parse_info()->literal()->should_be_used_once_hint()) {
|
| - info->code()->MarkToBeExecutedOnce(info->isolate());
|
| + info->code()->MarkToBeExecutedOnce(isolate);
|
| }
|
| InstallUnoptimizedCode(info);
|
| RecordFunctionCompilation(CodeEventListener::FUNCTION_TAG, info);
|
|
|