From: mikhail.naganov@gmail.com Date: Fri, 19 Mar 2010 13:49:28 +0000 (+0000) Subject: Really fix ARM build (this time verified locally.) X-Git-Tag: upstream/4.7.83~22194 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc43970611992a162616482472b6b37ff9c42798;p=platform%2Fupstream%2Fv8.git Really fix ARM build (this time verified locally.) 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 --- diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h index 7a3711ddf..f9bad4596 100644 --- a/src/cpu-profiler.h +++ b/src/cpu-profiler.h @@ -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.