Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index 4982197cabaf418006431f15d107fa29e6af8f2a..64ac1fcf9b6bf4d75fda9b34d66985980b656afe 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -64,7 +64,7 @@ TickSample* ProfilerEventsProcessor::TickSampleEvent() { |
} |
-bool ProfilerEventsProcessor::FilterOutCodeCreateEvent( |
+bool CpuProfiler::FilterOutCodeCreateEvent( |
Logger::LogEventsAndTags tag) { |
return FLAG_prof_browser_mode |
&& (tag != Logger::CALLBACK_TAG |
@@ -74,6 +74,13 @@ bool ProfilerEventsProcessor::FilterOutCodeCreateEvent( |
&& tag != Logger::SCRIPT_TAG); |
} |
+ |
+void ProfilerEventsProcessor::Enqueue(CodeEventsContainer* event) { |
yurys
2013/06/28 11:33:43
The argument should be "const CodeEventsContainer&
|
+ event->generic.order = ++enqueue_order_; |
+ events_buffer_.Enqueue(*event); |
+} |
+ |
+ |
} } // namespace v8::internal |
#endif // V8_CPU_PROFILER_INL_H_ |