Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index f1b82ed0e5f16194a31a574cf391b5f75004eebf..4a7d9adf10eb37bf195de2840aa1488a70a3f198 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1194,16 +1194,18 @@ class MacroAssembler: public Assembler { |
li(s2, Operand(ref)); |
} |
+#define COND_ARGS Condition cond = al, Register rs = zero_reg, \ |
+const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT |
+ |
// Call a code stub. |
void CallStub(CodeStub* stub, |
TypeFeedbackId ast_id = TypeFeedbackId::None(), |
- Condition cond = cc_always, |
- Register r1 = zero_reg, |
- const Operand& r2 = Operand(zero_reg), |
- BranchDelaySlot bd = PROTECT); |
+ COND_ARGS); |
// Tail call a code stub (jump). |
- void TailCallStub(CodeStub* stub); |
+ void TailCallStub(CodeStub* stub, COND_ARGS); |
+ |
+#undef COND_ARGS |
void CallJSExitStub(CodeStub* stub); |