Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index e3ab7c7e3d30361e4074893025414db87c229767..39db8ebe1c723880508ef2f29afdb97e0f97cf75 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4755,7 +4755,7 @@ CodePatcher::CodePatcher(byte* address, int size) |
CodePatcher::~CodePatcher() { |
// Indicate that code has changed. |
- CpuFeatures::FlushICache(address_, size_); |
+ Assembler::FlushICacheWithoutIsolate(address_, size_); |
// Check that the code was patched as expected. |
DCHECK(masm_.pc_ == address_ + size_); |