Changeset 52743 in webkit for trunk/JavaScriptCore/jit/ExecutableAllocator.h
- Timestamp:
- Jan 4, 2010, 9:20:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/ExecutableAllocator.h
r52729 r52743 44 44 #endif 45 45 46 #if PLATFORM(WINCE) 47 // From pkfuncs.h (private header file from the Platform Builder) 48 #define CACHE_SYNC_ALL 0x07F 49 extern "C" __declspec(dllimport) void CacheRangeFlush(LPVOID pAddr, DWORD dwLength, DWORD dwFlags); 50 #endif 51 46 52 #define JIT_ALLOCATOR_PAGE_SIZE (ExecutableAllocator::pageSize) 47 53 #define JIT_ALLOCATOR_LARGE_ALLOC_SIZE (ExecutableAllocator::pageSize * 4) … … 228 234 : "r0", "r1", "r2"); 229 235 } 236 #elif PLATFORM(WINCE) 237 static void cacheFlush(void* code, size_t size) 238 { 239 CacheRangeFlush(code, size, CACHE_SYNC_ALL); 240 } 230 241 #else 231 242 #error "The cacheFlush support is missing on this platform."
Note:
See TracChangeset
for help on using the changeset viewer.