Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 24d1c599236498dc84d6527224f42a39a09e155d..5e06322e2effb60336c4ed37a2423d448cdff16d 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -4664,6 +4664,14 @@ void Assembler::emit_sse_operand(XMMRegister dst) { |
emit(0xD8 | dst.low_bits()); |
} |
+void Assembler::RecordProtectedInstruction(int pc_offset, byte* landing) { |
+ EnsureSpace ensure_space(this); |
+ RelocInfo rinfo(isolate(), landing, |
+ RelocInfo::WASM_PROTECTED_INSTRUCTION_LANDING, pc_offset, |
+ nullptr); |
+ reloc_info_writer.Write(&rinfo); |
+} |
+ |
void Assembler::db(uint8_t data) { |
EnsureSpace ensure_space(this); |