Ignore:
Timestamp:
Jun 19, 2009, 6:07:06 PM (16 years ago)
Author:
[email protected]
Message:

2009-06-19 Gabor Loki <[email protected]>

Reviewed by Gavin Barraclough.

Reorganize ARM architecture specific macros.
Use PLATFORM_ARM_ARCH(7) instead of PLATFORM(ARM_V7).

Bug 24986: ARM JIT port
<https://bugs.webkit.org/show_bug.cgi?id=24986>

  • assembler/ARMv7Assembler.h:
  • assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::Imm32::Imm32):
  • assembler/MacroAssembler.h:
  • assembler/MacroAssemblerCodeRef.h: (JSC::MacroAssemblerCodePtr::MacroAssemblerCodePtr):
  • jit/ExecutableAllocator.h: (JSC::ExecutableAllocator::cacheFlush):
  • jit/JIT.h:
  • jit/JITInlineMethods.h: (JSC::JIT::restoreArgumentReferenceForTrampoline):
  • jit/JITStubs.cpp:
  • jit/JITStubs.h:
  • wtf/Platform.h:
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::generateEnter): (JSC::Yarr::RegexGenerator::generateReturn):
File:
1 edited

Legend:

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

    r44711 r44886  
    3838// ASSERT_VALID_CODE_POINTER checks that ptr is a non-null pointer, and that it is a valid
    3939// instruction address on the platform (for example, check any alignment requirements).
    40 #if PLATFORM(ARM_V7)
     40#if PLATFORM_ARM_ARCH(7)
    4141// ARM/thumb instructions must be 16-bit aligned, but all code pointers to be loaded
    4242// into the processor are decorated with the bottom bit set, indicating that this is
     
    125125
    126126    explicit MacroAssemblerCodePtr(void* value)
    127 #if PLATFORM(ARM_V7)
     127#if PLATFORM_ARM_ARCH(7)
    128128        // Decorate the pointer as a thumb code pointer.
    129129        : m_value(reinterpret_cast<char*>(value) + 1)
     
    142142
    143143    void* executableAddress() const { return m_value; }
    144 #if PLATFORM(ARM_V7)
     144#if PLATFORM_ARM_ARCH(7)
    145145    // To use this pointer as a data address remove the decoration.
    146146    void* dataLocation() const { ASSERT_VALID_CODE_POINTER(m_value); return reinterpret_cast<char*>(m_value) - 1; }
Note: See TracChangeset for help on using the changeset viewer.