Index: src/mips/assembler-mips.h |
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h |
index 1df6e3f5ad460b937975a8da2c61ade1bb6d1c2e..811d4c3c6ea179071bae6193ca1e3b8d802e0050 100644 |
--- a/src/mips/assembler-mips.h |
+++ b/src/mips/assembler-mips.h |
@@ -338,6 +338,8 @@ class Operand BASE_EMBEDDED { |
Register rm() const { return rm_; } |
+ RelocInfo::Mode rmode() const { return rmode_; } |
+ |
private: |
Register rm_; |
int32_t imm32_; // Valid if rm_ == no_reg. |
@@ -1172,6 +1174,12 @@ class Assembler : public AssemblerBase { |
inline int UnboundLabelsCount() { return unbound_labels_count_; } |
+ // Say if we need to relocate with this mode. |
+ bool MustUseReg(RelocInfo::Mode rmode); |
+ |
+ // Record reloc info for current pc_. |
+ void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
+ |
protected: |
// Load Scaled Address instruction. |
void lsa(Register rd, Register rt, Register rs, uint8_t sa); |
@@ -1194,12 +1202,6 @@ class Assembler : public AssemblerBase { |
// Patch branch instruction at pos to branch to given branch target pos. |
void target_at_put(int pos, int target_pos, bool is_internal); |
- // Say if we need to relocate with this mode. |
- bool MustUseReg(RelocInfo::Mode rmode); |
- |
- // Record reloc info for current pc_. |
- void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
- |
// Block the emission of the trampoline pool before pc_offset. |
void BlockTrampolinePoolBefore(int pc_offset) { |
if (no_trampoline_pool_before_ < pc_offset) |