Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index bb480fc345bb0b5191620d0753c0431a035ca8d5..65490285e75fa87f01a337d43bcd4189059e3a40 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -137,16 +137,6 @@ void ProfilerEventsProcessor::CodeMoveEvent(Address from, Address to) { |
} |
-void ProfilerEventsProcessor::CodeDeleteEvent(Address from) { |
- CodeEventsContainer evt_rec; |
- CodeDeleteEventRecord* rec = &evt_rec.CodeDeleteEventRecord_; |
- rec->type = CodeEventRecord::CODE_DELETE; |
- rec->order = ++enqueue_order_; |
- rec->start = from; |
- events_buffer_.Enqueue(evt_rec); |
-} |
- |
- |
void ProfilerEventsProcessor::SharedFunctionInfoMoveEvent(Address from, |
Address to) { |
CodeEventsContainer evt_rec; |
@@ -425,7 +415,6 @@ void CpuProfiler::CodeMoveEvent(Address from, Address to) { |
void CpuProfiler::CodeDeleteEvent(Address from) { |
- Isolate::Current()->cpu_profiler()->processor_->CodeDeleteEvent(from); |
} |