Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index 5f7e86510ab99bd344328ca7563ca81a83ddf6f7..89c975da9f8b2bb73f852d2ae7445e812ad44a72 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -336,6 +336,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(); |
processor_->Enqueue(evt_rec); |
processor_->AddDeoptStack(isolate_, pc, fp_to_sp_delta); |
} |