Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index fe077458eacc332f6140ea1e2810260feaf588a8..d8b65663e854cd0228e7b321fda9928057f3e098 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3874,7 +3874,6 @@ static int AddressOffset(ExternalReference ref0, ExternalReference ref1) { |
void MacroAssembler::CallApiFunctionAndReturn( |
Register function_address, |
ExternalReference thunk_ref, |
- Register thunk_last_arg, |
int stack_space, |
MemOperand return_value_operand, |
MemOperand* context_restore_operand) { |
@@ -3888,8 +3887,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
ExternalReference::handle_scope_level_address(isolate()), |
next_address); |
- ASSERT(function_address.is(a3)); |
- ASSERT(thunk_last_arg.is(a1) || thunk_last_arg.is(a2)); |
+ ASSERT(function_address.is(a1) || function_address.is(a2)); |
Label profiler_disabled; |
Label end_profiler_check; |