Index: src/arm/cpu-arm.cc |
diff --git a/src/arm/cpu-arm.cc b/src/arm/cpu-arm.cc |
index 9c7104eb95a72961d3abffbb8cf0054a30eb183c..4a340708f9334faa7a59d127e9518067beca85e4 100644 |
--- a/src/arm/cpu-arm.cc |
+++ b/src/arm/cpu-arm.cc |
@@ -27,6 +27,8 @@ namespace internal { |
void CpuFeatures::FlushICache(void* start, size_t size) { |
if (size == 0) return; |
+ if (CpuFeatures::IsSupported(COHERENT_CACHE)) return; |
+ |
#if defined(USE_SIMULATOR) |
// Not generating ARM instructions for C-code. This means that we are |
// building an ARM emulator based target. We should notify the simulator |