Changeset 76409 in webkit for trunk/Source/JavaScriptCore/wtf/PageReservation.h
- Timestamp:
- Jan 21, 2011, 4:38:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/PageReservation.h
r74431 r76409 65 65 { 66 66 } 67 68 using PageBlock::operator bool; 67 69 68 using PageBlock::base; 70 69 using PageBlock::size; 70 71 #ifndef __clang__ 72 using PageBlock::operator bool; 73 #else 74 // FIXME: This is a workaround for <rdar://problem/8876150>, wherein Clang incorrectly emits an access 75 // control warning when a client tries to use operator bool exposed above via "using PageBlock::operator bool". 76 operator bool() const { return PageBlock::operator bool(); } 77 #endif 71 78 72 79 void commit(void* start, size_t size)
Note:
See TracChangeset
for help on using the changeset viewer.