Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index c16f0b38bf2531a2a7a9dd54141dfe55748550b2..7855aa564a55cc2a280c54e1751e39bce4d06147 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -28,16 +28,36 @@ |
#ifndef V8_CPU_PROFILER_INL_H_ |
#define V8_CPU_PROFILER_INL_H_ |
+#include "cpu-profiler.h" |
+ |
#ifdef ENABLE_CPP_PROFILES_PROCESSOR |
#include "circular-queue-inl.h" |
#include "profile-generator-inl.h" |
-#include "cpu-profiler.h" |
- |
namespace v8 { |
namespace internal { |
+void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { |
+ code_map->AddCode(start, entry, size); |
+} |
+ |
+ |
+void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { |
+ code_map->MoveCode(from, to); |
+} |
+ |
+ |
+void CodeDeleteEventRecord::UpdateCodeMap(CodeMap* code_map) { |
+ code_map->DeleteCode(start); |
+} |
+ |
+ |
+void CodeAliasEventRecord::UpdateCodeMap(CodeMap* code_map) { |
+ code_map->AddAlias(alias, start); |
+} |
+ |
+ |
TickSample* ProfilerEventsProcessor::TickSampleEvent() { |
TickSampleEventRecord* evt = |
TickSampleEventRecord::cast(ticks_buffer_.Enqueue()); |