Ignore:
Timestamp:
Jan 5, 2010, 7:53:17 AM (15 years ago)
Author:
[email protected]
Message:

Follow r52729 in ARMAssembler.
https://bugs.webkit.org/show_bug.cgi?id=33208

Reviewed by Maciej Stachowiak.

Use WTF_ARM_ARCH_AT_LEAST instead of ARM_ARCH_VERSION

  • assembler/ARMAssembler.cpp:

(JSC::ARMAssembler::encodeComplexImm): Move tmp declaration to ARMv7

  • assembler/ARMAssembler.h:

(JSC::ARMAssembler::):
(JSC::ARMAssembler::bkpt):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/assembler/ARMAssembler.h

    r52729 r52797  
    139139            FTOSID = 0x0ebd0b40,
    140140            FMSTAT = 0x0ef1fa10,
    141 #if ARM_ARCH_VERSION >= 5
     141#if WTF_ARM_ARCH_AT_LEAST(5)
    142142            CLZ = 0x016f0f10,
    143143            BKPT = 0xe120070,
    144144#endif
    145 #if ARM_ARCH_VERSION >= 7
     145#if WTF_ARM_ARCH_AT_LEAST(7)
    146146            MOVW = 0x03000000,
    147147            MOVT = 0x03400000,
     
    343343        }
    344344
    345 #if ARM_ARCH_VERSION >= 7
     345#if WTF_ARM_ARCH_AT_LEAST(7)
    346346        void movw_r(int rd, ARMWord op2, Condition cc = AL)
    347347        {
     
    531531        }
    532532
    533 #if ARM_ARCH_VERSION >= 5
     533#if WTF_ARM_ARCH_AT_LEAST(5)
    534534        void clz_r(int rd, int rm, Condition cc = AL)
    535535        {
     
    540540        void bkpt(ARMWord value)
    541541        {
    542 #if ARM_ARCH_VERSION >= 5
     542#if WTF_ARM_ARCH_AT_LEAST(5)
    543543            m_buffer.putInt(BKPT | ((value & 0xff0) << 4) | (value & 0xf));
    544544#else
     
    748748        static ARMWord getOp2(ARMWord imm);
    749749
    750 #if ARM_ARCH_VERSION >= 7
     750#if WTF_ARM_ARCH_AT_LEAST(7)
    751751        static ARMWord getImm16Op2(ARMWord imm)
    752752        {
Note: See TracChangeset for help on using the changeset viewer.