| Index: src/x64/lithium-codegen-x64.cc
 | 
| ===================================================================
 | 
| --- src/x64/lithium-codegen-x64.cc	(revision 6822)
 | 
| +++ src/x64/lithium-codegen-x64.cc	(working copy)
 | 
| @@ -2077,7 +2077,13 @@
 | 
|  
 | 
|  
 | 
|  void LCodeGen::DoCallFunction(LCallFunction* instr) {
 | 
| -  Abort("Unimplemented: %s", "DoCallFunction");
 | 
| +  ASSERT(ToRegister(instr->context()).is(rsi));
 | 
| +  ASSERT(ToRegister(instr->result()).is(rax));
 | 
| +
 | 
| +  int arity = instr->arity();
 | 
| +  CallFunctionStub stub(arity, NOT_IN_LOOP, RECEIVER_MIGHT_BE_VALUE);
 | 
| +  CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
 | 
| +  __ Drop(1);
 | 
|  }
 | 
|  
 | 
|  
 | 
| 
 |