Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index cdc73741c320ff23ac5b5629c7843590b38dcfe5..0719055eff3facb8ef5f7136ecdf0a6a57fe4dd7 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -88,14 +88,6 @@ bool Operand::is_reg() const { |
// RelocInfo. |
void RelocInfo::apply(intptr_t delta) { |
- if (IsCodeTarget(rmode_)) { |
- uint32_t scope1 = (uint32_t) target_address() & ~kImm28Mask; |
- uint32_t scope2 = reinterpret_cast<uint32_t>(pc_) & ~kImm28Mask; |
- |
- if (scope1 != scope2) { |
- Assembler::JumpToJumpRegister(pc_); |
- } |
- } |
if (IsInternalReference(rmode_) || IsInternalReferenceEncoded(rmode_)) { |
// Absolute code pointer inside code object moves with the code object. |
byte* p = reinterpret_cast<byte*>(pc_); |