Changeset 58167 in webkit for trunk/JavaScriptCore
- Timestamp:
- Apr 23, 2010, 8:38:43 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSStringRef.h
r54717 r58167 39 39 40 40 #if !defined(WIN32) && !defined(_WIN32) && !defined(__WINSCW__) \ 41 && !( defined(__CC_ARM) || defined(__ARMCC__)) /* RVCT */41 && !((defined(__CC_ARM) || defined(__ARMCC__)) && defined(__SYMBIAN32__)) /* RVCT */ 42 42 /*! 43 43 @typedef JSChar -
trunk/JavaScriptCore/ChangeLog
r58165 r58167 1 2010-04-23 Gabor Rapcsanyi <[email protected]> 2 3 Reviewed by Laszlo Gombos. 4 5 Add RVCT support for Linux 6 7 Developed in cooperation with Gabor Loki. 8 9 * API/JSStringRef.h: 10 * jit/ExecutableAllocator.h: 11 * jit/ExecutableAllocatorPosix.cpp: 12 (JSC::ExecutableAllocator::cacheFlush): 13 * jit/JITStubs.cpp: 14 * wtf/MathExtras.h: 15 * wtf/unicode/qt4/UnicodeQt4.h: 16 1 17 2010-04-23 Patrick Gansterer <[email protected]> 2 18 -
trunk/JavaScriptCore/jit/ExecutableAllocator.h
r55500 r58167 248 248 User::IMB_Range(code, static_cast<char*>(code) + size); 249 249 } 250 #elif CPU(ARM_TRADITIONAL) && OS(LINUX) 250 #elif CPU(ARM_TRADITIONAL) && OS(LINUX) && COMPILER(RVCT) 251 static __asm void cacheFlush(void* code, size_t size); 252 #elif CPU(ARM_TRADITIONAL) && OS(LINUX) && COMPILER(GCC) 251 253 static void cacheFlush(void* code, size_t size) 252 254 { -
trunk/JavaScriptCore/jit/ExecutableAllocatorPosix.cpp
r52791 r58167 81 81 #endif 82 82 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 83 98 } 84 99 -
trunk/JavaScriptCore/jit/JITStubs.cpp
r57955 r58167 578 578 579 579 #elif COMPILER(RVCT) && CPU(ARM_TRADITIONAL) 580 581 #define THUNK_RETURN_ADDRESS_OFFSET 32 582 #define PRESERVEDR4_OFFSET 36 580 583 581 584 __asm EncodedJSValue ctiTrampoline(void*, RegisterFile*, CallFrame*, JSValue*, Profiler**, JSGlobalData*) -
trunk/JavaScriptCore/wtf/MathExtras.h
r58142 r58167 189 189 inline float grad2rad(float g) { return g * piFloat / 200.0f; } 190 190 191 #if !COMPILER(MSVC) && !COMPILER( RVCT) && !COMPILER(WINSCW)191 #if !COMPILER(MSVC) && !COMPILER(WINSCW) && !(COMPILER(RVCT) && OS(SYMBIAN)) 192 192 using std::isfinite; 193 193 using std::isinf; -
trunk/JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h
r54717 r58167 57 57 58 58 // ugly hack to make UChar compatible with JSChar in API/JSStringRef.h 59 #if defined(Q_OS_WIN) || COMPILER(WINSCW) || COMPILER(RVCT)59 #if defined(Q_OS_WIN) || COMPILER(WINSCW) || (COMPILER(RVCT) && OS(SYMBIAN)) 60 60 typedef wchar_t UChar; 61 61 #else
Note:
See TracChangeset
for help on using the changeset viewer.