| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 43388464cb0d9d03b588730213b99332ca4b1acc..4c46aad08b5f57392a4043a58c979e4fb10a9f53 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -748,7 +748,8 @@ class HOptimizedGraphBuilder;
|
|
|
| enum ArgumentsAllowedFlag {
|
| ARGUMENTS_NOT_ALLOWED,
|
| - ARGUMENTS_ALLOWED
|
| + ARGUMENTS_ALLOWED,
|
| + ARGUMENTS_FAKED
|
| };
|
|
|
|
|
| @@ -2261,7 +2262,6 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| #endif
|
| }
|
| }
|
| -
|
| HValue* LookupAndMakeLive(Variable* var) {
|
| HEnvironment* env = environment();
|
| int index = env->IndexFor(var);
|
| @@ -2290,6 +2290,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
|
|
| // Visit a list of expressions from left to right, each in a value context.
|
| void VisitExpressions(ZoneList<Expression*>* exprs);
|
| + void VisitExpressions(ZoneList<Expression*>* exprs,
|
| + ArgumentsAllowedFlag flag);
|
|
|
| // Remove the arguments from the bailout environment and emit instructions
|
| // to push them as outgoing parameters.
|
| @@ -2723,6 +2725,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| HInstruction* BuildCallConstantFunction(Handle<JSFunction> target,
|
| int argument_count);
|
|
|
| + bool CanBeFunctionApplyArguments(Call* expr);
|
| +
|
| // The translation state of the currently-being-translated function.
|
| FunctionState* function_state_;
|
|
|
|
|