| Index: src/mips64/cpu-mips64.cc
|
| diff --git a/src/mips/cpu-mips.cc b/src/mips64/cpu-mips64.cc
|
| similarity index 94%
|
| copy from src/mips/cpu-mips.cc
|
| copy to src/mips64/cpu-mips64.cc
|
| index f2d50650b02e59407e4d44e43a45c6fed7fb005d..027d5a103e54b31a1bc001ffa87aba2842b6b6be 100644
|
| --- a/src/mips/cpu-mips.cc
|
| +++ b/src/mips64/cpu-mips64.cc
|
| @@ -13,7 +13,7 @@
|
|
|
| #include "src/v8.h"
|
|
|
| -#if V8_TARGET_ARCH_MIPS
|
| +#if V8_TARGET_ARCH_MIPS64
|
|
|
| #include "src/assembler.h"
|
| #include "src/macro-assembler.h"
|
| @@ -31,7 +31,7 @@ void CpuFeatures::FlushICache(void* start, size_t size) {
|
| }
|
|
|
| #if !defined (USE_SIMULATOR)
|
| -#if defined(ANDROID)
|
| +#if defined(ANDROID) && !defined(__LP64__)
|
| // Bionic cacheflush can typically run in userland, avoiding kernel call.
|
| char *end = reinterpret_cast<char *>(start) + size;
|
| cacheflush(
|
| @@ -56,4 +56,4 @@ void CpuFeatures::FlushICache(void* start, size_t size) {
|
|
|
| } } // namespace v8::internal
|
|
|
| -#endif // V8_TARGET_ARCH_MIPS
|
| +#endif // V8_TARGET_ARCH_MIPS64
|
|
|