Index: src/x64/code-stubs-x64.h |
diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h |
index 09289cf3122417ef598af8d3ef2d22761b5984be..1344400d48eff7f70642b8cb621d00dfa3f7cf75 100644 |
--- a/src/x64/code-stubs-x64.h |
+++ b/src/x64/code-stubs-x64.h |
@@ -180,7 +180,7 @@ class RecordWriteStub: public PlatformCodeStub { |
break; |
} |
DCHECK(GetMode(stub) == mode); |
- CpuFeatures::FlushICache(stub->instruction_start(), 7); |
+ Assembler::FlushICache(stub->GetIsolate(), stub->instruction_start(), 7); |
} |
DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); |