Index: src/mips64/assembler-mips64.cc |
diff --git a/src/mips64/assembler-mips64.cc b/src/mips64/assembler-mips64.cc |
index ba784d3b442026d450ae7ded73fcfba018b6c7e3..5ba16b5def7485159b5ea9e661dbd43716a7ce10 100644 |
--- a/src/mips64/assembler-mips64.cc |
+++ b/src/mips64/assembler-mips64.cc |
@@ -2581,6 +2581,15 @@ void Assembler::RecordComment(const char* msg) { |
} |
+void Assembler::RecordDeoptReason(const int reason, const int raw_position) { |
+ if (FLAG_trace_deopt) { |
+ EnsureSpace ensure_space(this); |
+ RecordRelocInfo(RelocInfo::POSITION, raw_position); |
+ RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); |
+ } |
+} |
+ |
+ |
int Assembler::RelocateInternalReference(byte* pc, intptr_t pc_delta) { |
Instr instr = instr_at(pc); |
DCHECK(IsJ(instr) || IsLui(instr)); |