Ignore:
Timestamp:
Apr 23, 2010, 8:38:43 AM (15 years ago)
Author:
[email protected]
Message:

2010-04-23 Gabor Rapcsanyi <[email protected]>

Reviewed by Laszlo Gombos.

Add RVCT support for Linux

Developed in cooperation with Gabor Loki.

  • API/JSStringRef.h:
  • jit/ExecutableAllocator.h:
  • jit/ExecutableAllocatorPosix.cpp: (JSC::ExecutableAllocator::cacheFlush):
  • jit/JITStubs.cpp:
  • wtf/MathExtras.h:
  • wtf/unicode/qt4/UnicodeQt4.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/ExecutableAllocatorPosix.cpp

    r52791 r58167  
    8181#endif
    8282
     83#if CPU(ARM_TRADITIONAL) && OS(LINUX) && COMPILER(RVCT)
     84__asm void ExecutableAllocator::cacheFlush(void* code, size_t size)
     85{
     86    ARM
     87    push {r7}
     88    add r1, r1, r0
     89    mov r7, #0xf0000
     90    add r7, r7, #0x2
     91    mov r2, #0x0
     92    svc #0x0
     93    pop {r7}
     94    bx lr
     95}
     96#endif
     97
    8398}
    8499
Note: See TracChangeset for help on using the changeset viewer.