mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Provide generic hooks for icache invalidation. Add PPC implementation.
Patch by Gary Benson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,6 +94,11 @@ namespace llvm {
|
||||
assert(NumRelocs == 0 && "This target does not have relocations!");
|
||||
}
|
||||
|
||||
/// InvalidateInstructionCache - Before the JIT can run a block of code
|
||||
// that has been emitted it must invalidate the instruction cache on some
|
||||
// platforms.
|
||||
virtual void InvalidateInstructionCache(const void *Addr, unsigned len) {}
|
||||
|
||||
/// needsGOT - Allows a target to specify that it would like the
|
||||
// JIT to manage a GOT for it.
|
||||
bool needsGOT() const { return useGOT; }
|
||||
|
||||
Reference in New Issue
Block a user