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/yarr/RegexJIT.cpp

    r44713 r44886  
    4444    friend void jitCompileRegex(JSGlobalData* globalData, RegexCodeBlock& jitObject, const UString& pattern, unsigned& numSubpatterns, const char*& error, bool ignoreCase, bool multiline);
    4545
    46 #if PLATFORM(ARM_V7)
     46#if PLATFORM_ARM_ARCH(7)
    4747    static const RegisterID input = ARM::r0;
    4848    static const RegisterID index = ARM::r1;
     
    13091309        loadPtr(Address(X86::ebp, 2 * sizeof(void*)), output);
    13101310    #endif
    1311 #elif PLATFORM(ARM_V7)
     1311#elif PLATFORM_ARM_ARCH(7)
    13121312        push(ARM::r4);
    13131313        push(ARM::r5);
     
    13261326        pop(X86::ebx);
    13271327        pop(X86::ebp);
    1328 #elif PLATFORM(ARM_V7)
     1328#elif PLATFORM_ARM_ARCH(7)
    13291329        pop(ARM::r6);
    13301330        pop(ARM::r5);
Note: See TracChangeset for help on using the changeset viewer.