Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 61e98b2b0ce9c0053c131098bd74d30a4cc15c2f..9b669818cc4c8165e1236ad02329b549c83d7107 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -2131,6 +2131,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
// Remove the arguments from the bailout environment and emit instructions |
// to push them as outgoing parameters. |
template <class Instruction> HInstruction* PreProcessCall(Instruction* call); |
+ void PushArgumentsFromEnvironment(int count); |
void SetUpScope(Scope* scope); |
virtual void VisitStatements(ZoneList<Statement*>* statements) V8_OVERRIDE; |
@@ -2446,6 +2447,24 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
HValue* receiver, |
Handle<Map> receiver_map); |
+ HInstruction* NewPlainFunctionCall(HValue* fun, |
+ HValue* call_kind_value, |
+ int argument_count, |
+ bool pass_argument_count); |
+ |
+ HInstruction* NewArgumentAdaptorCall(HValue* fun, HValue* context, |
+ HValue* call_kind_value, |
+ int argument_count, |
+ HValue* expected_param_count); |
+ |
+ HInstruction* BuildCallConstantFunction(Handle<JSFunction> target, |
+ int argument_count, |
+ CallKind call_kind); |
+ |
+ HInstruction* NewCallKeyed(HValue* key, int argument_count); |
+ |
+ HInstruction* NewCallNamed(Handle<String> name, int argument_count); |
+ |
// The translation state of the currently-being-translated function. |
FunctionState* function_state_; |