Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 94802f8858dc588c2932fd8d6a77c9842392da7b..3b2539e408868d9cc2053549b51136444e803c32 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -180,12 +180,15 @@ class MacroAssembler: public Assembler { |
#define COND_ARGS Condition cond = al, Register rs = zero_reg, \ |
const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT |
- void Jump(Register target, COND_ARGS); |
+ void Jump(Register target, int16_t offset = 0, COND_ARGS); |
+ void Jump(Register target, Register base, int16_t offset = 0, COND_ARGS); |
+ void Jump(Register target, const Operand& offset, COND_ARGS); |
void Jump(intptr_t target, RelocInfo::Mode rmode, COND_ARGS); |
void Jump(Address target, RelocInfo::Mode rmode, COND_ARGS); |
void Jump(Handle<Code> code, RelocInfo::Mode rmode, COND_ARGS); |
- static int CallSize(Register target, COND_ARGS); |
- void Call(Register target, COND_ARGS); |
+ static int CallSize(Register target, int16_t offset = 0, COND_ARGS); |
+ void Call(Register target, int16_t offset = 0, COND_ARGS); |
+ void Call(Register target, Register base, int16_t offset = 0, COND_ARGS); |
static int CallSize(Address target, RelocInfo::Mode rmode, COND_ARGS); |
void Call(Address target, RelocInfo::Mode rmode, COND_ARGS); |
int CallSize(Handle<Code> code, |
@@ -1664,9 +1667,8 @@ const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT |
bool IsDoubleZeroRegSet() { return has_double_zero_reg_set_; } |
private: |
- void CallCFunctionHelper(Register function, |
- int num_reg_arguments, |
- int num_double_arguments); |
+ void CallCFunctionHelper(Register function_base, int16_t function_offset, |
+ int num_reg_arguments, int num_double_arguments); |
inline Register GetRtAsRegisterHelper(const Operand& rt, Register scratch); |
inline int32_t GetOffset(int32_t offset, Label* L, OffsetSize bits); |