summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCJITInfo.cpp10
-rw-r--r--llvm/lib/Target/PowerPC/PPCJITInfo.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.cpp b/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
index 0c6044c928a..27e2659a65c 100644
--- a/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
@@ -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
-}
diff --git a/llvm/lib/Target/PowerPC/PPCJITInfo.h b/llvm/lib/Target/PowerPC/PPCJITInfo.h
index 292539f3ec9..a97fc2e9171 100644
--- a/llvm/lib/Target/PowerPC/PPCJITInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCJITInfo.h
@@ -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);
};
}
OpenPOWER on IntegriCloud