Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 8b00f0276d0fe557dcf5e13d5e066e23391baf75..4a2261b868ea5364e91c0101c890ed2ca7bd588b 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -3058,7 +3058,7 @@ void MacroAssembler::J(Label* L, BranchDelaySlot bdslot) { |
{ BlockGrowBufferScope block_buf_growth(this); |
// Buffer growth (and relocation) must be blocked for internal references |
// until associated instructions are emitted and available to be patched. |
- RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE); |
+ RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE_ENCODED); |
j(imm28); |
} |
// Emit a nop in the branch delay slot if required. |
@@ -3075,7 +3075,7 @@ void MacroAssembler::Jr(Label* L, BranchDelaySlot bdslot) { |
{ BlockGrowBufferScope block_buf_growth(this); |
// Buffer growth (and relocation) must be blocked for internal references |
// until associated instructions are emitted and available to be patched. |
- RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE); |
+ RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE_ENCODED); |
li(at, Operand(imm64), ADDRESS_LOAD); |
} |
jr(at); |
@@ -3094,7 +3094,7 @@ void MacroAssembler::Jalr(Label* L, BranchDelaySlot bdslot) { |
{ BlockGrowBufferScope block_buf_growth(this); |
// Buffer growth (and relocation) must be blocked for internal references |
// until associated instructions are emitted and available to be patched. |
- RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE); |
+ RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE_ENCODED); |
li(at, Operand(imm64), ADDRESS_LOAD); |
} |
jalr(at); |