Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index c3cc27c770eafc812c94f8a42ad9416f0132a9eb..bafea0679fa15957595a4a6d167e1fb398741855 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -70,7 +70,7 @@ void ReportBuiltinEventRecord::UpdateCodeMap(CodeMap* code_map) { |
TickSample* ProfilerEventsProcessor::TickSampleEvent() { |
generator_->Tick(); |
TickSampleEventRecord* evt = |
- new(ticks_buffer_.Enqueue()) TickSampleEventRecord(enqueue_order_); |
+ new(ticks_buffer_.Enqueue()) TickSampleEventRecord(last_code_event_id_); |
return &evt->sample; |
} |