Index: src/arm64/code-stubs-arm64.h |
diff --git a/src/arm64/code-stubs-arm64.h b/src/arm64/code-stubs-arm64.h |
index 341153380dcd6b8d639484f498decf0a699c97d4..4b56b5468f9b976a2794fc6b97b43f33cdda6b3a 100644 |
--- a/src/arm64/code-stubs-arm64.h |
+++ b/src/arm64/code-stubs-arm64.h |
@@ -131,6 +131,7 @@ class RecordWriteStub: public PlatformCodeStub { |
static void Patch(Code* stub, Mode mode) { |
// We are going to patch the two first instructions of the stub. |
PatchingAssembler patcher( |
+ stub->GetIsolate(), |
reinterpret_cast<Instruction*>(stub->instruction_start()), 2); |
Instruction* instr1 = patcher.InstructionAt(0); |
Instruction* instr2 = patcher.InstructionAt(kInstructionSize); |