| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index 6b514e3abda4f2d70b41add9fd817a2293687945..5bddc7ef485add92597ec7fd579450cb9c7109a9 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1140,8 +1140,15 @@ LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
|
|
|
|
|
| LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) {
|
| - Abort("Unimplemented: %s", "DoApplyArguments");
|
| - return NULL;
|
| + LOperand* function = UseFixed(instr->function(), rdi);
|
| + LOperand* receiver = UseFixed(instr->receiver(), rax);
|
| + LOperand* length = UseFixed(instr->length(), rbx);
|
| + LOperand* elements = UseFixed(instr->elements(), rcx);
|
| + LApplyArguments* result = new LApplyArguments(function,
|
| + receiver,
|
| + length,
|
| + elements);
|
| + return MarkAsCall(DefineFixed(result, rax), instr, CAN_DEOPTIMIZE_EAGERLY);
|
| }
|
|
|
|
|
|
|