Changeset 48212 in webkit for trunk/JavaScriptCore/jit


Ignore:
Timestamp:
Sep 9, 2009, 9:46:28 AM (16 years ago)
Author:
Laszlo Gombos
Message:

2009-09-09 Laszlo Gombos <Laszlo Gombos>

Reviewed by Ariya Hidayat.

Implement flushing the instruction cache for Symbian
https://bugs.webkit.org/show_bug.cgi?id=29075

  • jit/ExecutableAllocator.h: (JSC::ExecutableAllocator::cacheFlush): Call IMB_Range to flush the instruction cache on Symbian
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/ExecutableAllocator.h

    r46247 r48212  
    3939#endif
    4040
     41#if PLATFORM(SYMBIAN)
     42#include <e32std.h>
     43#endif
     44
    4145#define JIT_ALLOCATOR_PAGE_SIZE (ExecutableAllocator::pageSize)
    4246#define JIT_ALLOCATOR_LARGE_ALLOC_SIZE (ExecutableAllocator::pageSize * 4)
     
    182186        sys_dcache_flush(code, size);
    183187        sys_icache_invalidate(code, size);
     188    }
     189#elif PLATFORM(SYMBIAN)
     190    static void cacheFlush(void* code, size_t size)
     191    {
     192        User::IMB_Range(code, reinterpret_cast<char*>(code) + size);
    184193    }
    185194#elif PLATFORM(ARM)
Note: See TracChangeset for help on using the changeset viewer.