| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 51e0828047827c9d62d84bbc11ba1fbfb6d44faf..133d4988a6f199399ea17bf4b851dc1422326237 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -3103,12 +3103,12 @@ void LCodeGen::DoCallNamed(LCallNamed* instr) {
|
|
|
| void LCodeGen::DoCallFunction(LCallFunction* instr) {
|
| ASSERT(ToRegister(instr->context()).is(esi));
|
| + ASSERT(ToRegister(instr->function()).is(edi));
|
| ASSERT(ToRegister(instr->result()).is(eax));
|
|
|
| int arity = instr->arity();
|
| CallFunctionStub stub(arity, NO_CALL_FUNCTION_FLAGS);
|
| CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| - __ Drop(1);
|
| }
|
|
|
|
|
|
|