Changeset 245254 in webkit
- Timestamp:
- May 13, 2019 3:00:09 PM (5 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r245244 r245254 1 2019-05-13 Yusuke Suzuki <ysuzuki@apple.com> 2 3 Unreviewed, follow-up after r245214 4 https://bugs.webkit.org/show_bug.cgi?id=197730 5 6 Suggested by Sam. We should have static_assert with MACH_VM_MAX_ADDRESS. 7 8 * wtf/WTFAssertions.cpp: 9 1 10 2019-05-13 Youenn Fablet <youenn@apple.com> 2 11 -
trunk/Source/WTF/wtf/WTFAssertions.cpp
r242127 r245254 27 27 28 28 #include <wtf/Bag.h> 29 #include <wtf/Platform.h> 29 30 #include <wtf/RefCountedArray.h> 30 31 #include <wtf/RefPtr.h> 32 33 #if OS(DARWIN) 34 #include <mach/vm_param.h> 35 #endif 31 36 32 37 namespace WTF { … … 43 48 44 49 static_assert(sizeof(RefCountedArray<DummyStruct>) == sizeof(void*), ""); 50 51 #if OS(DARWIN) 52 static_assert(MACH_VM_MAX_ADDRESS <= ((1ULL << WTF_CPU_EFFECTIVE_ADDRESS_WIDTH) - 1)); 53 #endif 45 54 46 55 } // namespace WTF
Note: See TracChangeset
for help on using the changeset viewer.