Reviewers: Mads Ager,
Description:
Really fix ARM build (this time verified locally.)
[email protected]
Please review this at http://codereview.chromium.org/1154001
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
7a3711ddf54637b581a6641429cc6a1f7f3565ed..f9bad4596ec557a766718ff7102a8ec4d95f15d8
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.
--
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.