Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index e7a53f18f3d368971cc70c5dc1b5cb0ff938dc3e..4fb6edbc1ca6902501c45008420b3c76fe1c34dd 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -4669,9 +4669,9 @@ void Assembler::emit_sse_operand(XMMRegister dst) { |
emit(0xD8 | dst.low_bits()); |
} |
-void Assembler::RecordProtectedInstruction(int pc_offset, byte* landing) { |
+void Assembler::RecordProtectedInstructionLanding(int pc_offset) { |
EnsureSpace ensure_space(this); |
- RelocInfo rinfo(isolate(), landing, |
+ RelocInfo rinfo(isolate(), pc(), |
RelocInfo::WASM_PROTECTED_INSTRUCTION_LANDING, pc_offset, |
nullptr); |
reloc_info_writer.Write(&rinfo); |