Index: src/profiler/profiler-listener.cc |
diff --git a/src/profiler/profiler-listener.cc b/src/profiler/profiler-listener.cc |
index a25ccf11ac5a1519fad135e971df44b2d08f7f4c..1612a539a3bf9debaf7b71971dec467435c2b1f5 100644 |
--- a/src/profiler/profiler-listener.cc |
+++ b/src/profiler/profiler-listener.cc |
@@ -155,7 +155,7 @@ void ProfilerListener::CodeDeoptEvent(Code* code, Address pc, |
CodeDeoptEventRecord* rec = &evt_rec.CodeDeoptEventRecord_; |
Deoptimizer::DeoptInfo info = Deoptimizer::GetDeoptInfo(code, pc); |
rec->start = code->address(); |
- rec->deopt_reason = Deoptimizer::GetDeoptReason(info.deopt_reason); |
+ rec->deopt_reason = DeoptimizeReasonToString(info.deopt_reason); |
rec->position = info.position; |
rec->deopt_id = info.deopt_id; |
rec->pc = reinterpret_cast<void*>(pc); |