projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a17ff7
)
Add one more 'magic' define :)
author
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 17 Jun 2008 17:57:43 +0000
(17:57 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 17 Jun 2008 17:57:43 +0000
(17:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52420
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCJITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCJITInfo.cpp
b/lib/Target/PowerPC/PPCJITInfo.cpp
index f241c09480efa9c1aea9b7b120def2ff69fedb93..f400297a81ee68af10c87e4ccfa4be9a6dc2c5dc 100644
(file)
--- a/
lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/
lib/Target/PowerPC/PPCJITInfo.cpp
@@
-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__)