Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index fc396a718fb2c47324ecf6a2630fd7d572900486..b60a23bc7e8de6ec84ae7ff514b64fa263bc1468 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1478,11 +1478,12 @@ class HCompareMap: public HUnaryControlInstruction { |
}; |
-class HReturn: public HTemplateControlInstruction<0, 2> { |
+class HReturn: public HTemplateControlInstruction<0, 3> { |
public: |
- HReturn(HValue* value, HValue* context) { |
+ HReturn(HValue* value, HValue* context, HValue* parameter_count) { |
SetOperandAt(0, value); |
SetOperandAt(1, context); |
+ SetOperandAt(2, parameter_count); |
} |
virtual Representation RequiredInputRepresentation(int index) { |
@@ -1493,6 +1494,7 @@ class HReturn: public HTemplateControlInstruction<0, 2> { |
HValue* value() { return OperandAt(0); } |
HValue* context() { return OperandAt(1); } |
+ HValue* parameter_count() { return OperandAt(2); } |
DECLARE_CONCRETE_INSTRUCTION(Return) |
}; |