Changeset 180964 in webkit
- Timestamp:
- Mar 3, 2015 4:30:01 PM (9 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r180960 r180964 1 2015-03-03 Geoffrey Garen <ggaren@apple.com> 2 3 bmalloc: Don't branch when setting the owner of a large object 4 https://bugs.webkit.org/show_bug.cgi?id=142241 5 6 Reviewed by Andreas Kling. 7 8 * bmalloc/BoundaryTag.h: 9 (bmalloc::BoundaryTag::owner): 10 (bmalloc::BoundaryTag::setOwner): 11 1 12 2015-03-03 Geoffrey Garen <ggaren@apple.com> 2 13 -
trunk/Source/bmalloc/bmalloc/BoundaryTag.h
r180806 r180964 51 51 void setEnd(bool isEnd) { m_isEnd = isEnd; } 52 52 53 Owner owner() { return m_ownerIsHeap ? Owner::Heap : Owner::VMHeap; }54 void setOwner(Owner owner) { m_owner IsHeap = (owner == Owner::Heap); }53 Owner owner() { return static_cast<Owner>(m_owner); } 54 void setOwner(Owner owner) { m_owner = static_cast<unsigned>(owner); } 55 55 56 56 bool isMarked() { return m_isMarked; } … … 86 86 bool m_isFree: 1; 87 87 bool m_isEnd: 1; 88 bool m_ownerIsHeap: 1;88 unsigned m_owner: 1; 89 89 bool m_isMarked: 1; 90 90 unsigned m_compactBegin: compactBeginBits;
Note: See TracChangeset
for help on using the changeset viewer.