Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 8d806e6ad70d1505af7cef815c66936ade113e0b..92c2ed4a4314a6d7b46bd0cde3655e07838dba5f 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3018,13 +3018,13 @@ void LCodeGen::DoCallNamed(LCallNamed* instr) { |
void LCodeGen::DoCallFunction(LCallFunction* instr) { |
+ ASSERT(ToRegister(instr->function()).is(rdi)); |
ASSERT(ToRegister(instr->result()).is(rax)); |
int arity = instr->arity(); |
CallFunctionStub stub(arity, NO_CALL_FUNCTION_FLAGS); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
__ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
- __ Drop(1); |
} |