Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 997f17e2f5f136bb6b69b65827691d34ecdea89e..bb83431c8a267fe037117184b6c6bc25edc18a70 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1244,8 +1244,9 @@ LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { |
LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
LOperand* context = UseFixed(instr->context(), esi); |
+ LOperand* function = UseFixed(instr->function(), edi); |
argument_count_ -= instr->argument_count(); |
- LCallFunction* result = new LCallFunction(context); |
+ LCallFunction* result = new LCallFunction(context, function); |
return MarkAsCall(DefineFixed(result, eax), instr); |
} |