Index: src/arm64/code-stubs-arm64.h |
diff --git a/src/arm64/code-stubs-arm64.h b/src/arm64/code-stubs-arm64.h |
index 79e7bb403e50cd34f6407b44f94e58fe1f16ba0c..a5ae2d3dee5e2c79d02480352f96d7949db65343 100644 |
--- a/src/arm64/code-stubs-arm64.h |
+++ b/src/arm64/code-stubs-arm64.h |
@@ -130,9 +130,7 @@ class RecordWriteStub: public PlatformCodeStub { |
// so effectively a nop. |
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); |
+ PatchingAssembler patcher(stub->GetIsolate(), stub->instruction_start(), 2); |
Instruction* instr1 = patcher.InstructionAt(0); |
Instruction* instr2 = patcher.InstructionAt(kInstructionSize); |
// Instructions must be either 'adr' or 'b'. |