Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index ba8d2e781dc1c102fa0789f95b23c4384c29db8a..6288ef8260273170b8a1e58d1fcf9007eca0f577 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1644,14 +1644,26 @@ class HInvokeFunction: public HBinaryCall { |
: HBinaryCall(context, function, argument_count) { |
} |
+ HInvokeFunction(HValue* context, |
+ HValue* function, |
+ Handle<JSFunction> known_function, |
+ int argument_count) |
+ : HBinaryCall(context, function, argument_count), |
+ known_function_(known_function) { |
+ } |
+ |
virtual Representation RequiredInputRepresentation(int index) { |
return Representation::Tagged(); |
} |
HValue* context() { return first(); } |
HValue* function() { return second(); } |
+ Handle<JSFunction> known_function() { return known_function_; } |
DECLARE_CONCRETE_INSTRUCTION(InvokeFunction) |
+ |
+ private: |
+ Handle<JSFunction> known_function_; |
}; |