Chromium Code Reviews| Index: runtime/vm/code_patcher_x64.cc |
| =================================================================== |
| --- runtime/vm/code_patcher_x64.cc (revision 12243) |
| +++ runtime/vm/code_patcher_x64.cc (working copy) |
| @@ -246,6 +246,7 @@ |
| *reinterpret_cast<uint8_t*>(start) = 0xE8; |
| ShortCallPattern call(start); |
| call.SetTargetAddress(target); |
| + CPU::FlushICache(start, ShortCallPattern::InstructionLength()); |
| } |