Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index fa7aca549cc2b34d464c930ab2575a6b32e79475..c480348926ecedba846a0a7d27772723f6449a22 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1573,13 +1573,14 @@ class HCallNamed: public HUnaryCall { |
}; |
-class HCallFunction: public HUnaryCall { |
+class HCallFunction: public HBinaryCall { |
public: |
- HCallFunction(HValue* context, int argument_count) |
- : HUnaryCall(context, argument_count) { |
+ HCallFunction(HValue* context, HValue* function, int argument_count) |
+ : HBinaryCall(context, function, argument_count) { |
} |
- HValue* context() { return value(); } |
+ HValue* context() { return first(); } |
+ HValue* function() { return second(); } |
virtual Representation RequiredInputRepresentation(int index) { |
return Representation::Tagged(); |