Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index b1adc1bc8f23e19cfda7e7a6ce213de3996f5f86..0320ed5a79d0ac28472050f8972e738e4cadfec5 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -38,10 +38,7 @@ void CodeDisableOptEventRecord::UpdateCodeMap(CodeMap* code_map) { |
void CodeDeoptEventRecord::UpdateCodeMap(CodeMap* code_map) { |
CodeEntry* entry = code_map->FindEntry(start); |
- if (entry != NULL) { |
- entry->set_deopt_reason(deopt_reason); |
- entry->set_deopt_location(raw_position); |
- } |
+ if (entry != NULL) entry->set_deopt_info(deopt_reason, raw_position); |
} |