From cd4c0bff77a9b5617896982e99dc80f469e26e4f Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Mon, 18 Mar 2013 17:17:33 -0700 Subject: Revert "Android uses cacheflush(long, long, long) for MIPS." This reverts commit f81e00be9486cb813cdabb73d533d0d5115c6d0f. --- lib/Support/Unix/Memory.inc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/Support/Unix/Memory.inc') diff --git a/lib/Support/Unix/Memory.inc b/lib/Support/Unix/Memory.inc index 2686ba6..e00394e 100644 --- a/lib/Support/Unix/Memory.inc +++ b/lib/Support/Unix/Memory.inc @@ -331,13 +331,8 @@ void Memory::InvalidateInstructionCache(const void *Addr, const char *End = Start + Len; __clear_cache(const_cast(Start), const_cast(End)); # elif defined(__mips__) -# if defined(ANDROID) - // Android uses cacheflush(long, long, long) instead. - cacheflush(reinterpret_cast(Addr), Len, BCACHE); -# else const char *Start = static_cast(Addr); cacheflush(const_cast(Start), Len, BCACHE); -# endif # endif #endif // end apple -- cgit v1.1