Index: src/mips64/assembler-mips64.h |
diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h |
index c6d44b59cb70339016febb89dd33cab71336fe01..f7a1f5e1ef3e1fdaf27beb54560eecccb7d3e236 100644 |
--- a/src/mips64/assembler-mips64.h |
+++ b/src/mips64/assembler-mips64.h |
@@ -404,8 +404,8 @@ |
offset_zero = 0 |
}; |
- explicit MemOperand(Register rn, int32_t offset = 0); |
- explicit MemOperand(Register rn, int32_t unit, int32_t multiplier, |
+ explicit MemOperand(Register rn, int64_t offset = 0); |
+ explicit MemOperand(Register rn, int64_t unit, int64_t multiplier, |
OffsetAddend offset_addend = offset_zero); |
int32_t offset() const { return offset_; } |
@@ -1138,9 +1138,7 @@ |
inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } |
// Get the number of bytes available in the buffer. |
- inline intptr_t available_space() const { |
- return reloc_info_writer.pos() - pc_; |
- } |
+ inline int available_space() const { return reloc_info_writer.pos() - pc_; } |
// Read/patch instructions. |
static Instr instr_at(byte* pc) { return *reinterpret_cast<Instr*>(pc); } |