Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 7da5296043f230b4e36ec2b432166de34827d7f8..2c31412b63d5bc6aff15756063690003e809ddd5 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1211,8 +1211,9 @@ LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { |
LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
+ LOperand* function = UseFixed(instr->function(), r1); |
argument_count_ -= instr->argument_count(); |
- return MarkAsCall(DefineFixed(new LCallFunction, r0), instr); |
+ return MarkAsCall(DefineFixed(new LCallFunction(function), r0), instr); |
} |