| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 22b82d73aec2741ff5e527ca5148b6d0291297af..bd51dd15651cc10fb53e2454fca2cfe1c6ea1451 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "v8.h"
|
|
|
| +#include "allocation.h"
|
| #include "ast.h"
|
| #include "compiler.h"
|
| #include "hydrogen-instructions.h"
|
| @@ -308,6 +309,8 @@ Zone* HBasicBlock::zone() { return graph_->zone(); }
|
|
|
| class HEnvironment: public ZoneObject {
|
| public:
|
| + enum CompilationPhase { HYDROGEN, LITHIUM };
|
| +
|
| HEnvironment(HEnvironment* outer,
|
| Scope* scope,
|
| Handle<JSFunction> closure);
|
| @@ -384,7 +387,7 @@ class HEnvironment: public ZoneObject {
|
| // instructions, otherwise they are the actual values.
|
| HEnvironment* CopyForInlining(Handle<JSFunction> target,
|
| FunctionLiteral* function,
|
| - bool is_speculative,
|
| + CompilationPhase compilation_phase,
|
| HConstant* undefined) const;
|
|
|
| void AddIncomingEdge(HBasicBlock* block, HEnvironment* other);
|
|
|