[llvm-commits] [llvm] r52420 - /llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp

Anton Korobeynikov asl at math.spbu.ru
Tue Jun 17 10:57:43 PDT 2008


Author: asl
Date: Tue Jun 17 12:57:43 2008
New Revision: 52420

URL: http://llvm.org/viewvc/llvm-project?rev=52420&view=rev
Log:
Add one more 'magic' define :)

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp?rev=52420&r1=52419&r2=52420&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCJITInfo.cpp Tue Jun 17 12:57:43 2008
@@ -331,7 +331,8 @@
 #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__)





More information about the llvm-commits mailing list