Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index a1f8351223ebc0c45cd344f60be593eb0bdf927c..e10068f0091b8fda5e9ad4f2d1c41e5fb0b30d6c 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1929,7 +1929,9 @@ LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { |
- return new(zone()) LReturn(UseFixed(instr->value(), r0)); |
+ LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); |
+ return new(zone()) LReturn(UseFixed(instr->value(), r0), |
+ parameter_count); |
} |