Changeset 93462 in webkit
- Timestamp:
- Aug 19, 2011 6:17:18 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r93450 r93462 1 2011-08-19 Daniel Bates <dbates@webkit.org> 2 3 Implement ExecutableAllocator::cacheFlush() for QNX 4 https://bugs.webkit.org/show_bug.cgi?id=66611 5 6 Reviewed by Antonio Gomes. 7 8 * jit/ExecutableAllocator.h: 9 (JSC::ExecutableAllocator::cacheFlush): 10 1 11 2011-08-19 Daniel Bates <dbates@webkit.org> 2 12 -
trunk/Source/JavaScriptCore/jit/ExecutableAllocator.h
r92254 r93462 37 37 #if OS(IOS) 38 38 #include <libkern/OSCacheControl.h> 39 #endif 40 41 #if OS(IOS) || OS(QNX) 39 42 #include <sys/mman.h> 40 43 #endif … … 326 329 #endif 327 330 } 331 #elif OS(QNX) 332 static void cacheFlush(void* code, size_t size) 333 { 334 #if !ENABLE(ASSEMBLER_WX_EXCLUSIVE) 335 msync(code, size, MS_INVALIDATE_ICACHE); 336 #else 337 UNUSED_PARAM(code); 338 UNUSED_PARAM(size); 339 #endif 340 } 328 341 #else 329 342 #error "The cacheFlush support is missing on this platform."
Note: See TracChangeset
for help on using the changeset viewer.