From 7e6e44139429d1b8003426b29f14126b89591262 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 27 Jul 2006 17:33:48 +0000 Subject: [PATCH] synchronizeICache removeed from TargetJITInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29348 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCJITInfo.cpp | 10 ---------- lib/Target/PowerPC/PPCJITInfo.h | 1 - 2 files changed, 11 deletions(-) diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp index 0c6044c928a..27e2659a65c 100644 --- a/lib/Target/PowerPC/PPCJITInfo.cpp +++ b/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/lib/Target/PowerPC/PPCJITInfo.h b/lib/Target/PowerPC/PPCJITInfo.h index 292539f3ec9..a97fc2e9171 100644 --- a/lib/Target/PowerPC/PPCJITInfo.h +++ b/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); }; }