Revision: 4195
Author: [email protected]
Date: Fri Mar 19 06:07:43 2010
Log: Fix ARM build (GCC 3 'all member functions in class are private' warning.)

[email protected]

Review URL: http://codereview.chromium.org/1084010
http://code.google.com/p/v8/source/detail?r=4195

Modified:
 /branches/bleeding_edge/src/cpu-profiler.h

=======================================
--- /branches/bleeding_edge/src/cpu-profiler.h  Fri Mar 19 02:46:53 2010
+++ /branches/bleeding_edge/src/cpu-profiler.h  Fri Mar 19 06:07:43 2010
@@ -110,6 +110,10 @@
   TickSample sample;
   unsigned order;

+#if defined(__GNUC__) && (__GNUC__ < 4)
+  // Added to avoid 'all member functions in class are private' error.
+  INLINE(unsigned get_order() const) { return order; }
+#endif
  private:
   // Disable instantiation.
   TickSampleEventRecord();

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply 
to this email with the words "REMOVE ME" as the subject.

Reply via email to