| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index 5020692d0c7ebd0345d53570a27a0383a5077ec0..972530ee355974af4d593e50d1a26b77dd5d5deb 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -3087,7 +3087,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.
|
| @@ -3104,7 +3104,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);
|
| lui(at, (imm32 & kHiMask) >> kLuiShift);
|
| ori(at, at, (imm32 & kImm16Mask));
|
| }
|
| @@ -3124,7 +3124,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);
|
| lui(at, (imm32 & kHiMask) >> kLuiShift);
|
| ori(at, at, (imm32 & kImm16Mask));
|
| }
|
|
|