Really fix ARM build (this time verified locally.)
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Mar 2010 13:49:28 +0000 (13:49 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Mar 2010 13:49:28 +0000 (13:49 +0000)
TBR=ager@chromium.org

Review URL: http://codereview.chromium.org/1154001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4196 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/cpu-profiler.h

index 7a3711ddf54637b581a6641429cc6a1f7f3565ed..f9bad4596ec557a766718ff7102a8ec4d95f15d8 100644 (file)
@@ -111,8 +111,11 @@ class TickSampleEventRecord {
   unsigned order;
 
 #if defined(__GNUC__) && (__GNUC__ < 4)
-  // Added to avoid 'all member functions in class are private' error.
+  // Added to avoid 'all member functions in class are private' warning.
   INLINE(unsigned get_order() const) { return order; }
+  // Added to avoid 'class only defines private constructors and
+  // has no friends' warning.
+  friend class TickSampleEventRecordFriend;
 #endif
  private:
   // Disable instantiation.