Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 943e4302dcaf6db22190c0694f6ff69925ff9eb4..9bb418c5a63a5c97f770a20e69a1a114b0e948df 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -2394,11 +2394,13 @@ class HInvokeFunction final : public HBinaryCall { |
class HCallFunction final : public HBinaryCall { |
public: |
- DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P2(HCallFunction, HValue*, int); |
+ DECLARE_INSTRUCTION_WITH_CONTEXT_FACTORY_P3(HCallFunction, HValue*, int, |
+ ConvertReceiverMode); |
HValue* context() const { return first(); } |
HValue* function() const { return second(); } |
+ ConvertReceiverMode convert_mode() const { return convert_mode_; } |
FeedbackVectorSlot slot() const { return slot_; } |
Handle<TypeFeedbackVector> feedback_vector() const { |
return feedback_vector_; |
@@ -2417,10 +2419,13 @@ class HCallFunction final : public HBinaryCall { |
int argument_delta() const override { return -argument_count(); } |
private: |
- HCallFunction(HValue* context, HValue* function, int argument_count) |
- : HBinaryCall(context, function, argument_count) {} |
+ HCallFunction(HValue* context, HValue* function, int argument_count, |
+ ConvertReceiverMode convert_mode) |
+ : HBinaryCall(context, function, argument_count), |
+ convert_mode_(convert_mode) {} |
Handle<TypeFeedbackVector> feedback_vector_; |
FeedbackVectorSlot slot_; |
+ ConvertReceiverMode convert_mode_; |
}; |