Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index e640b53e8df0c4e06e351d9b5e132b7ff7a99c1e..fee9dadc2135b450f6697b8fc1de462dd3ab7bc1 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -3171,12 +3171,12 @@ void LCodeGen::DoCallNamed(LCallNamed* instr) { |
void LCodeGen::DoCallFunction(LCallFunction* instr) { |
+ ASSERT(ToRegister(instr->function()).is(a1)); |
ASSERT(ToRegister(instr->result()).is(v0)); |
int arity = instr->arity(); |
CallFunctionStub stub(arity, NO_CALL_FUNCTION_FLAGS); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
- __ Drop(1); |
__ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
} |