Chromium Code Reviews| Index: src/arm/cpu-arm.cc |
| =================================================================== |
| --- src/arm/cpu-arm.cc (revision 6809) |
| +++ src/arm/cpu-arm.cc (working copy) |
| @@ -50,6 +50,11 @@ |
| void CPU::FlushICache(void* start, size_t size) { |
| + // Nothing to do flushing no instructions. |
| + if (size == 0) { |
| + 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 |