Ignore:
Timestamp:
Mar 9, 2019, 9:25:11 AM (6 years ago)
Author:
[email protected]
Message:

BinarySwitch can be shrunk by 8 bytes
https://bugs.webkit.org/show_bug.cgi?id=195493

Reviewed by Mark Lam.

  • jit/BinarySwitch.cpp:

(JSC::BinarySwitch::BinarySwitch):

  • jit/BinarySwitch.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/BinarySwitch.cpp

    r241267 r242673  
    4141
    4242BinarySwitch::BinarySwitch(GPRReg value, const Vector<int64_t>& cases, Type type)
    43     : m_value(value)
     43    : m_type(type)
     44    , m_value(value)
    4445    , m_weakRandom(globalCounter++)
    4546    , m_index(0)
    4647    , m_caseIndex(UINT_MAX)
    47     , m_type(type)
    4848{
    4949    if (cases.isEmpty())
Note: See TracChangeset for help on using the changeset viewer.