| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index db305c4f92d1a329a68bc634d2de4895f348b167..643074c3df878fe431d224f551c9202fa9461eb3 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -2170,6 +2170,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;
|
| @@ -2198,8 +2199,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| Handle<JSFunction> target);
|
|
|
| int InliningAstSize(Handle<JSFunction> target);
|
| - bool TryInline(CallKind call_kind,
|
| - Handle<JSFunction> target,
|
| + bool TryInline(Handle<JSFunction> target,
|
| int arguments_count,
|
| HValue* implicit_return_value,
|
| BailoutId ast_id,
|
| @@ -2497,6 +2497,21 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| HValue* receiver,
|
| Handle<Map> receiver_map);
|
|
|
| + HInstruction* NewPlainFunctionCall(HValue* fun,
|
| + int argument_count,
|
| + bool pass_argument_count);
|
| +
|
| + HInstruction* NewArgumentAdaptorCall(HValue* fun, HValue* context,
|
| + int argument_count,
|
| + HValue* expected_param_count);
|
| +
|
| + HInstruction* BuildCallConstantFunction(Handle<JSFunction> target,
|
| + int argument_count);
|
| +
|
| + 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_;
|
|
|
|
|