Changeset 179927 in webkit
- Timestamp:
- Feb 11, 2015, 8:12:13 AM (12 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
bmalloc/Algorithm.h (modified) (1 diff)
-
bmalloc/FixedVector.h (modified) (1 diff)
-
bmalloc/Sizes.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r179923 r179927 1 2015-02-11 Csaba Osztrogonác <ossy@webkit.org> 2 3 bmalloc buildfix on 32 bit Linux (x86/ARM) 4 https://bugs.webkit.org/show_bug.cgi?id=141472 5 6 Reviewed by Gyuyoung Kim. 7 8 * bmalloc/Algorithm.h: 9 (bmalloc::roundUpToMultipleOf): 10 * bmalloc/FixedVector.h: 11 (bmalloc::FixedVector::clear): 12 * bmalloc/Sizes.h: 13 (bmalloc::Sizes::sizeClass): 14 1 15 2015-02-11 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 16 -
trunk/Source/bmalloc/bmalloc/Algorithm.h
r178727 r179927 71 71 { 72 72 BASSERT(isPowerOfTwo(divisor)); 73 return reinterpret_cast<T>((reinterpret_cast<uintptr_t>(x) + (divisor - 1 ul)) & ~(divisor - 1ul));73 return reinterpret_cast<T>((reinterpret_cast<uintptr_t>(x) + (divisor - 1)) & ~(divisor - 1)); 74 74 } 75 75 -
trunk/Source/bmalloc/bmalloc/FixedVector.h
r166956 r179927 60 60 void shrink(size_t); 61 61 62 void clear() { shrink( 0ul); }62 void clear() { shrink(static_cast<size_t>(0)); } 63 63 bool isEmpty() { return !m_size; } 64 64 -
trunk/Source/bmalloc/bmalloc/Sizes.h
r178621 r179927 101 101 { 102 102 static const size_t sizeClassMask = (mediumMax / alignment) - 1; 103 return mask((size - 1 ul) / alignment, sizeClassMask);103 return mask((size - 1) / alignment, sizeClassMask); 104 104 } 105 105
Note:
See TracChangeset
for help on using the changeset viewer.