Changeset 172578 in webkit


Ignore:
Timestamp:
Aug 14, 2014 1:49:48 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Fix JSC::ARM64Assembler::LinkRecord::RealTypes
https://bugs.webkit.org/show_bug.cgi?id=135906

Patch by Akos Kiss <akiss@inf.u-szeged.hu> on 2014-08-14
Reviewed by Michael Saboff.

JSC::ARM64Assembler::LinkRecord::RealTypes::m_compareRegister is defined
to occupy 5 bits but JSC::ARM64Assembler::RegisterID needs 6 bits. So,
increase the size of the bit field and also reorganize the struct to
better align with word boundaries.

  • assembler/ARM64Assembler.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r172550 r172578  
     12014-08-14  Akos Kiss  <akiss@inf.u-szeged.hu>
     2
     3        Fix JSC::ARM64Assembler::LinkRecord::RealTypes
     4        https://bugs.webkit.org/show_bug.cgi?id=135906
     5
     6        Reviewed by Michael Saboff.
     7
     8        JSC::ARM64Assembler::LinkRecord::RealTypes::m_compareRegister is defined
     9        to occupy 5 bits but JSC::ARM64Assembler::RegisterID needs 6 bits. So,
     10        increase the size of the bit field and also reorganize the struct to
     11        better align with word boundaries.
     12
     13        * assembler/ARM64Assembler.h:
     14
    1152014-08-13  Akos Kiss  <akiss@inf.u-szeged.hu>
    216
  • trunk/Source/JavaScriptCore/assembler/ARM64Assembler.h

    r171705 r172578  
    625625                JumpLinkType m_linkType : 8;
    626626                Condition m_condition : 4;
     627                unsigned m_bitNumber : 6;
     628                RegisterID m_compareRegister : 6;
    627629                bool m_is64Bit : 1;
    628                 unsigned m_bitNumber : 6;
    629                 RegisterID m_compareRegister : 5;
    630630            } realTypes;
    631631            struct CopyTypes {
Note: See TracChangeset for help on using the changeset viewer.