Index: src/profiler/cpu-profiler.cc |
diff --git a/src/profiler/cpu-profiler.cc b/src/profiler/cpu-profiler.cc |
index 343b828613118311623ce03b53b28699cdd2ba1d..05a1bad445cb7b27e06cd71c5ca26406cbd306ee 100644 |
--- a/src/profiler/cpu-profiler.cc |
+++ b/src/profiler/cpu-profiler.cc |
@@ -353,7 +353,7 @@ void CpuProfiler::CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta) { |
rec->start = code->address(); |
rec->deopt_reason = Deoptimizer::GetDeoptReason(info.deopt_reason); |
rec->position = info.position; |
- rec->pc_offset = pc - code->instruction_start(); |
+ rec->inlining_id = info.inlining_id; |
processor_->Enqueue(evt_rec); |
processor_->AddDeoptStack(isolate_, pc, fp_to_sp_delta); |
} |