Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 8c21c2d50e36142c1ad912eaac50b6bbde7f6a33..1afa6a3a6c6b69ffc937ecc11c9a367b6cf825cf 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1206,8 +1206,9 @@ LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { |
LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
+ LOperand* function = UseFixed(instr->function(), rdi); |
argument_count_ -= instr->argument_count(); |
- LCallFunction* result = new LCallFunction(); |
+ LCallFunction* result = new LCallFunction(function); |
return MarkAsCall(DefineFixed(result, rax), instr); |
} |