mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-07 22:05:21 +00:00
JIT flush changes from latest unix_main.cpp
This commit is contained in:
parent
41d3975f22
commit
e166715fcd
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user