| Index: src/arm/cpu-arm.cc
|
| ===================================================================
|
| --- src/arm/cpu-arm.cc (revision 5699)
|
| +++ src/arm/cpu-arm.cc (working copy)
|
| @@ -36,11 +36,8 @@
|
|
|
| #include "cpu.h"
|
| #include "macro-assembler.h"
|
| +#include "simulator.h" // for cache flushing.
|
|
|
| -#ifndef __arm__
|
| -#include "simulator-arm.h" // for cache flushing.
|
| -#endif
|
| -
|
| namespace v8 {
|
| namespace internal {
|
|
|
| @@ -50,7 +47,7 @@
|
|
|
|
|
| void CPU::FlushICache(void* start, size_t size) {
|
| -#if !defined (__arm__)
|
| +#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
|
| // that the Icache was flushed.
|
|
|