aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2011-11-26 14:18:36 +0800
committerLogan Chien <loganchien@google.com>2011-11-27 03:07:40 +0800
commit79f06f3cbcf2cb0394d33382186c31f2967cb400 (patch)
tree016178c03a53be4b8cf566971b39a0d06caedb3a /lib/Support
parentb170fad25ac66976b67eaab820e466db22a7f07d (diff)
downloadexternal_llvm-79f06f3cbcf2cb0394d33382186c31f2967cb400.zip
external_llvm-79f06f3cbcf2cb0394d33382186c31f2967cb400.tar.gz
external_llvm-79f06f3cbcf2cb0394d33382186c31f2967cb400.tar.bz2
Add build rules for MIPS.
Change-Id: Id929ad67b41e048102e89617bf6d2ba390aac1f1
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Memory.cpp b/lib/Support/Memory.cpp
index 2a1642a..6806c1d 100644
--- a/lib/Support/Memory.cpp
+++ b/lib/Support/Memory.cpp
@@ -71,7 +71,7 @@ void llvm::sys::Memory::InvalidateInstructionCache(const void *Addr,
char *End = Start + Len;
__clear_cache(Start, End);
# elif defined(__mips__)
- cacheflush((char*)Addr, Len, BCACHE);
+ cacheflush((intptr_t)Addr, Len, BCACHE);
# endif
#endif // end apple