| Index: runtime/vm/cpu_arm64.cc
|
| diff --git a/runtime/vm/cpu_arm64.cc b/runtime/vm/cpu_arm64.cc
|
| index d9ec03bd3711cfaffd597c18ce00287f91081384..881aebc42fb166c6de00eb567bb6828115c50568 100644
|
| --- a/runtime/vm/cpu_arm64.cc
|
| +++ b/runtime/vm/cpu_arm64.cc
|
| @@ -18,7 +18,12 @@
|
| namespace dart {
|
|
|
| void CPU::FlushICache(uword start, uword size) {
|
| -#if !defined(USING_SIMULATOR)
|
| +#if TARGET_OS_IOS
|
| + // Precompilation never patches code so there should be no I cache flushes.
|
| + UNREACHABLE();
|
| +#endif
|
| +
|
| +#if !defined(USING_SIMULATOR) && !TARGET_OS_IOS
|
| // Nothing to do. Flushing no instructions.
|
| if (size == 0) {
|
| return;
|
|
|