| Index: src/hydrogen.h
|
| ===================================================================
|
| --- src/hydrogen.h (revision 8462)
|
| +++ src/hydrogen.h (working copy)
|
| @@ -329,8 +329,6 @@
|
|
|
| class HEnvironment: public ZoneObject {
|
| public:
|
| - enum CompilationPhase { HYDROGEN, LITHIUM };
|
| -
|
| HEnvironment(HEnvironment* outer,
|
| Scope* scope,
|
| Handle<JSFunction> closure);
|
| @@ -417,12 +415,9 @@
|
|
|
| // Create an "inlined version" of this environment, where the original
|
| // environment is the outer environment but the top expression stack
|
| - // elements are moved to an inner environment as parameters. If
|
| - // is_speculative, the argument values are expected to be PushArgument
|
| - // instructions, otherwise they are the actual values.
|
| + // elements are moved to an inner environment as parameters.
|
| HEnvironment* CopyForInlining(Handle<JSFunction> target,
|
| FunctionLiteral* function,
|
| - CompilationPhase compilation_phase,
|
| HConstant* undefined,
|
| CallKind call_kind) const;
|
|
|
| @@ -821,8 +816,9 @@
|
| HBasicBlock* false_block);
|
|
|
| // Visit an argument subexpression and emit a push to the outgoing
|
| - // arguments.
|
| - void VisitArgument(Expression* expr);
|
| + // arguments. Returns the hydrogen value that was pushed.
|
| + HValue* VisitArgument(Expression* expr);
|
| +
|
| void VisitArgumentList(ZoneList<Expression*>* arguments);
|
|
|
| // Visit a list of expressions from left to right, each in a value context.
|
|
|