Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index 06640b4f11d128703f3b02f8482bcf1e83ebecdf..5f7e86510ab99bd344328ca7563ca81a83ddf6f7 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -329,11 +329,10 @@ void CpuProfiler::CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared) { |
} |
-void CpuProfiler::CodeDeoptEvent(Code* code, int bailout_id, Address pc, |
- int fp_to_sp_delta) { |
+void CpuProfiler::CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta) { |
CodeEventsContainer evt_rec(CodeEventRecord::CODE_DEOPT); |
CodeDeoptEventRecord* rec = &evt_rec.CodeDeoptEventRecord_; |
- Deoptimizer::DeoptInfo info = Deoptimizer::GetDeoptInfo(code, bailout_id); |
+ Deoptimizer::DeoptInfo info = Deoptimizer::GetDeoptInfo(code, pc); |
rec->start = code->address(); |
rec->deopt_reason = Deoptimizer::GetDeoptReason(info.deopt_reason); |
rec->position = info.position; |