mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
synchronizeICache removeed from TargetJITInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d9bbdc440
commit
7e6e441394
@ -268,13 +268,3 @@ void PPCJITInfo::resolveBBRefs(MachineCodeEmitter &MCE) {
|
||||
}
|
||||
BBRefs.clear();
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
|
||||
#endif
|
||||
|
||||
void PPCJITInfo::synchronizeICache(const void *Addr, size_t Len) {
|
||||
#ifdef __APPLE__
|
||||
sys_icache_invalidate(Addr, Len);
|
||||
#endif
|
||||
}
|
||||
|
@ -44,7 +44,6 @@ namespace llvm {
|
||||
virtual void replaceMachineCodeForFunction(void *Old, void *New);
|
||||
|
||||
virtual void resolveBBRefs(MachineCodeEmitter &MCE);
|
||||
virtual void synchronizeICache(const void *Addr, size_t Len);
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user