Reviewers: Mads Ager,

Description:
Fix ARM build (GCC 3 'all member functions in class are private' warning.)

[email protected]

Please review this at http://codereview.chromium.org/1084010

Affected files:
  M src/cpu-profiler.h


Index: src/cpu-profiler.h
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h
index 7c838fd2513b42df3bd9e291dacac019ae063dc0..7a3711ddf54637b581a6641429cc6a1f7f3565ed 100644
--- a/src/cpu-profiler.h
+++ b/src/cpu-profiler.h
@@ -110,6 +110,10 @@ class TickSampleEventRecord {
   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