Changeset 242673 in webkit
- Timestamp:
- Mar 9, 2019, 9:25:11 AM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
jit/BinarySwitch.cpp (modified) (1 diff)
-
jit/BinarySwitch.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r242672 r242673 1 2019-03-09 Robin Morisset <rmorisset@apple.com> 2 3 BinarySwitch can be shrunk by 8 bytes 4 https://bugs.webkit.org/show_bug.cgi?id=195493 5 6 Reviewed by Mark Lam. 7 8 * jit/BinarySwitch.cpp: 9 (JSC::BinarySwitch::BinarySwitch): 10 * jit/BinarySwitch.h: 11 1 12 2019-03-09 Robin Morisset <rmorisset@apple.com> 2 13 -
trunk/Source/JavaScriptCore/jit/BinarySwitch.cpp
r241267 r242673 41 41 42 42 BinarySwitch::BinarySwitch(GPRReg value, const Vector<int64_t>& cases, Type type) 43 : m_value(value) 43 : m_type(type) 44 , m_value(value) 44 45 , m_weakRandom(globalCounter++) 45 46 , m_index(0) 46 47 , m_caseIndex(UINT_MAX) 47 , m_type(type)48 48 { 49 49 if (cases.isEmpty()) -
trunk/Source/JavaScriptCore/jit/BinarySwitch.h
r206525 r242673 79 79 void build(unsigned start, bool hardStart, unsigned end); 80 80 81 Type m_type; 81 82 GPRReg m_value; 82 83 … … 135 136 136 137 MacroAssembler::JumpList m_fallThrough; 137 138 Type m_type;139 138 }; 140 139
Note:
See TracChangeset
for help on using the changeset viewer.