# | Line 81 | Line 81 | using std::string; | |
---|---|---|
81 | #include "sigsegv.h" | |
82 | ||
83 | #if USE_JIT | |
84 | < | extern void (*flush_icache)(int); // from compemu_support.cpp |
84 | > | extern void flush_icache_range(uint32 start, uint32 size); // from compemu_support.cpp |
85 | #endif | |
86 | ||
87 | #ifdef ENABLE_MON | |
# | Line 773 | Line 773 | void FlushCodeCache(void *start, uint32 | |
773 | { | |
774 | #if USE_JIT | |
775 | if (UseJIT) | |
776 | < | flush_icache(-1); |
776 | > | flush_icache_range((uintptr)start, size); |
777 | #endif | |
778 | #if !EMULATED_68K && defined(__NetBSD__) | |
779 | m68k_sync_icache(start, size); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |