Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 42d1ec955d7b00a96e212c0de78a311ecf45f08a..63969fc51b03d0435a901a10122b5587352ea95d 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3246,12 +3246,12 @@ void LCodeGen::DoCallNamed(LCallNamed* instr) { |
void LCodeGen::DoCallFunction(LCallFunction* instr) { |
+ ASSERT(ToRegister(instr->function()).is(r1)); |
ASSERT(ToRegister(instr->result()).is(r0)); |
int arity = instr->arity(); |
CallFunctionStub stub(arity, NO_CALL_FUNCTION_FLAGS); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
- __ Drop(1); |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
} |