Reviewers: danno, Jakob,

Description:
Fix compiler error about unused profiles_ field in ProfilerEventsProcessor.

BUG=

Please review this at https://codereview.chromium.org/18353002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/cpu-profiler.h
  M src/cpu-profiler.cc


Index: src/cpu-profiler.cc
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc
index bdb4ec427ed8df5236c940f3a24d97f7aba999ea..13096048516ba9395e51865537bed330245dbdac 100644
--- a/src/cpu-profiler.cc
+++ b/src/cpu-profiler.cc
@@ -49,7 +49,6 @@ ProfilerEventsProcessor::ProfilerEventsProcessor(
     ProfileGenerator* generator, CpuProfilesCollection* profiles)
     : Thread(Thread::Options("v8:ProfEvntProc", kProfilerStackSize)),
       generator_(generator),
-      profiles_(profiles),
       running_(true),
       ticks_buffer_(sizeof(TickSampleEventRecord),
                     kTickSamplesBufferChunkSize,
Index: src/cpu-profiler.h
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h
index c66f99e17f7af025f64111dc109a413b704946ba..1e8ac791b0aa51f36a2113d0b5037b64c43bd3fd 100644
--- a/src/cpu-profiler.h
+++ b/src/cpu-profiler.h
@@ -166,7 +166,6 @@ class ProfilerEventsProcessor : public Thread {
   bool ProcessTicks(unsigned dequeue_order);

   ProfileGenerator* generator_;
-  CpuProfilesCollection* profiles_;
   bool running_;
   UnboundQueue<CodeEventsContainer> events_buffer_;
   SamplingCircularQueue ticks_buffer_;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to