| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index 24c698727603ac8382f81db9d4e87a8b2783ccbd..1585e3187f56074ff702f6063057604b94a0f1b2 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -3151,6 +3151,7 @@ void MacroAssembler::Jalr(Label* L, BranchDelaySlot bdslot) {
|
|
|
|
|
| void MacroAssembler::DropAndRet(int drop) {
|
| + DCHECK(is_int16(drop * kPointerSize));
|
| Ret(USE_DELAY_SLOT);
|
| addiu(sp, sp, drop * kPointerSize);
|
| }
|
| @@ -3188,7 +3189,7 @@ void MacroAssembler::Drop(int count,
|
| Branch(&skip, NegateCondition(cond), reg, op);
|
| }
|
|
|
| - addiu(sp, sp, count * kPointerSize);
|
| + Addu(sp, sp, Operand(count * kPointerSize));
|
|
|
| if (cond != al) {
|
| bind(&skip);
|
|
|