Changeset 48702 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 23, 2009, 11:10:59 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r48701 r48702 1 2009-09-24 Gabor Loki <[email protected]> 2 3 Reviewed by Gavin Barraclough. 4 5 Avoid __clear_cache built-in function if DISABLE_BUILTIN_CLEAR_CACHE define is set 6 https://bugs.webkit.org/show_bug.cgi?id=28886 7 8 There are some GCC packages (for example GCC-2006q3 from CodeSourcery) 9 which contain __clear_cache built-in function only for C while the C++ 10 version of __clear_cache is missing on ARM architectures. 11 12 Fixed a small bug in the inline assembly of cacheFlush function on 13 ARM_TRADITIONAL. 14 15 * jit/ExecutableAllocator.h: 16 (JSC::ExecutableAllocator::cacheFlush): 17 1 18 2009-09-23 Geoffrey Garen <[email protected]> 2 19 -
trunk/JavaScriptCore/jit/ExecutableAllocator.h
r48527 r48702 192 192 User::IMB_Range(code, static_cast<char*>(code) + size); 193 193 } 194 #elif PLATFORM(ARM) && COMPILER(GCC) && (GCC_VERSION >= 30406) 194 #elif PLATFORM(ARM) && COMPILER(GCC) && (GCC_VERSION >= 30406) && !defined(DISABLE_BUILTIN_CLEAR_CACHE) 195 195 static void cacheFlush(void* code, size_t size) 196 196 { … … 204 204 "mov r0, %0\n" 205 205 "mov r1, %1\n" 206 "mov r7, 0xf0002\n" 206 "mov r7, #0xf0000\n" 207 "add r7, r7, #0x2\n" 207 208 "mov r2, #0x0\n" 208 209 "svc 0x0\n"
Note:
See TracChangeset
for help on using the changeset viewer.