JIT flush changes from latest unix_main.cpp

This commit is contained in:
nigel 2004-01-27 00:18:24 +00:00
parent 41d3975f22
commit e166715fcd

View File

@ -50,7 +50,7 @@ using std::string;
#include "xpram.h"
#if USE_JIT
extern void (*flush_icache)(int); // from compemu_support.cpp
extern void flush_icache_range(uint32 start, uint32 size); // from compemu_support.cpp
#endif
#ifdef ENABLE_MON
@ -460,7 +460,7 @@ void FlushCodeCache(void *start, uint32 size)
{
#if USE_JIT
if (UseJIT)
flush_icache(-1);
flush_icache_range((uintptr)start, size);
#endif
}