Changeset 209162 in webkit
- Timestamp:
- Nov 30, 2016 4:10:44 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r209154 r209162 1 2016-11-30 Mark Lam <mark.lam@apple.com> 2 3 TypeInfo::OutOfLineTypeFlags should be 16 bits in size. 4 https://bugs.webkit.org/show_bug.cgi?id=165224 5 6 Reviewed by Saam Barati. 7 8 There's no reason for OutOfLineTypeFlags to be constraint to 8 bits since the 9 space is available to us. Making OutOfLineTypeFlags 16 bits brings TypeInfo up 10 to 32 bits in size from the current 24 bits. 11 12 * runtime/JSTypeInfo.h: 13 (JSC::TypeInfo::TypeInfo): 14 1 15 2016-11-30 Joseph Pecoraro <pecoraro@apple.com> 2 16 -
trunk/Source/JavaScriptCore/runtime/JSTypeInfo.h
r207652 r209162 55 55 public: 56 56 typedef uint8_t InlineTypeFlags; 57 typedef uint 8_t OutOfLineTypeFlags;57 typedef uint16_t OutOfLineTypeFlags; 58 58 59 59 TypeInfo(JSType type, unsigned flags = 0) 60 60 : TypeInfo(type, flags & 0xff, flags >> 8) 61 61 { 62 ASSERT(!(flags >> 24)); 62 63 } 63 64 … … 111 112 bool isSetOnFlags2(unsigned flag) const { ASSERT(flag >= (1 << 8)); return m_flags2 & (flag >> 8); } 112 113 113 u nsigned charm_type;114 u nsigned charm_flags;115 u nsigned charm_flags2;114 uint8_t m_type; 115 uint8_t m_flags; 116 uint16_t m_flags2; 116 117 }; 117 118
Note: See TracChangeset
for help on using the changeset viewer.