Changeset 144589 in webkit
- Timestamp:
- Mar 3, 2013 4:11:08 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r144521 r144589 1 2013-03-03 Andreas Kling <akling@apple.com> 2 3 Shrink JSC::HashTable entries. 4 <http://webkit.org/b/111275> 5 <rdar://problem/13333511> 6 7 Reviewed by Anders Carlsson. 8 9 Move the Intrinsic value out of the function-specific part of the union, 10 and store it next to m_attributes. Reduces the size of HashEntry by 8 bytes. 11 12 990 kB progression on Membuster3. (PTUS: 797 kB) 13 14 * runtime/Lookup.h: 15 (JSC::HashEntry::initialize): 16 (JSC::HashEntry::intrinsic): 17 (HashEntry): 18 1 19 2013-03-01 David Kilzer <ddkilzer@apple.com> 2 20 -
trunk/Source/JavaScriptCore/runtime/Lookup.h
r120143 r144589 54 54 m_u.store.value1 = v1; 55 55 m_u.store.value2 = v2; 56 m_ u.function.intrinsic = intrinsic;56 m_intrinsic = intrinsic; 57 57 m_next = 0; 58 58 } … … 66 66 { 67 67 ASSERT(m_attributes & Function); 68 return m_ u.function.intrinsic;68 return m_intrinsic; 69 69 } 70 70 … … 83 83 StringImpl* m_key; 84 84 unsigned char m_attributes; // JSObject attributes 85 Intrinsic m_intrinsic; 85 86 86 87 union { … … 92 93 NativeFunction functionValue; 93 94 intptr_t length; // number of arguments for function 94 Intrinsic intrinsic;95 95 } function; 96 96 struct {
Note: See TracChangeset
for help on using the changeset viewer.