Ignore:
Timestamp:
Oct 31, 2017, 4:12:32 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r224243, r224246, and r224248.
https://bugs.webkit.org/show_bug.cgi?id=179083

The patch and fix broke the Windows build. (Requested by
mlewis13 on #webkit).

Reverted changesets:

"StructureStubInfo should have GPRReg members not int8_ts"
https://bugs.webkit.org/show_bug.cgi?id=179071
https://trac.webkit.org/changeset/224243

"Make all register enums be backed by uint8_t."
https://bugs.webkit.org/show_bug.cgi?id=179074
https://trac.webkit.org/changeset/224246

"Unreviewed, windows build fix."
https://trac.webkit.org/changeset/224248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/ARM64Assembler.h

    r224246 r224258  
    158158namespace ARM64Registers {
    159159
    160 enum RegisterID : uint8_t {
     160typedef enum {
    161161    // Parameter/result registers.
    162162    x0,
     
    204204    x30 = lr,
    205205    zr = 0x3f,
    206 };
    207 
    208 enum SPRegisterID : uint8_t {
     206} RegisterID;
     207
     208typedef enum {
    209209    pc,
    210210    nzcv,
    211211    fpsr
    212 };
     212} SPRegisterID;
    213213
    214214// ARM64 always has 32 FPU registers 128-bits each. See http://llvm.org/devmtg/2012-11/Northover-AArch64.pdf
    215215// and Section 5.1.2 in http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf.
    216216// However, we only use them for 64-bit doubles.
    217 enum FPRegisterID : uint8_t {
     217typedef enum {
    218218    // Parameter/result registers.
    219219    q0,
     
    251251    q30,
    252252    q31,
    253 };
     253} FPRegisterID;
    254254
    255255static constexpr bool isSp(RegisterID reg) { return reg == sp; }
Note: See TracChangeset for help on using the changeset viewer.