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

TBR=ager@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4195 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mikhail.naganov@gmail.com 2010-03-19 13:07:43 +00:00
parent ebf9e6e8e2
commit f7ba38332b

View File

@ -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();