| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index a6cbe661e23374f80ad0f7e422a5670a58c9707c..9620ed1a26f8f3dc26cef3d4c98d7cdb24455e6f 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -451,6 +451,13 @@ void InstallUnoptimizedCode(CompilationInfo* info) {
|
|
|
| // Install compilation result on the shared function info
|
| InstallSharedCompilationResult(info, shared);
|
| +
|
| + // Install coverage info on the shared function info.
|
| + if (info->has_coverage_info()) {
|
| + DCHECK(info->is_block_coverage_enabled());
|
| + info->isolate()->debug()->InstallCoverageInfo(info->shared_info(),
|
| + info->coverage_info());
|
| + }
|
| }
|
|
|
| CompilationJob::Status FinalizeUnoptimizedCompilationJob(CompilationJob* job) {
|
|
|