1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add one more 'magic' define :)

llvm-svn: 52420
This commit is contained in:
Anton Korobeynikov 2008-06-17 17:57:43 +00:00
parent cdfbb1eae5
commit 6a779ad6fa

View File

@ -331,7 +331,8 @@ extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
#endif
void PPCJITInfo::InvalidateInstructionCache(const void *Addr, unsigned len) {
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER))
#if (defined(__POWERPC__) || defined (__ppc__) || \
defined(_POWER) || defined(_ARCH_PPC))
# if defined(__APPLE__)
sys_icache_invalidate(Addr, len);
# elif defined(__GNUC__)