| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 47dff7d3ab76acda11ad0e5f455e5c7e7182ad52..7f565c386d7394ed5d3bb16128b1011e97e8eac6 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -660,20 +660,7 @@ class HGraphBuilder: public AstVisitor {
|
| BreakAndContinueScope* next_;
|
| };
|
|
|
| - HGraphBuilder(CompilationInfo* info, TypeFeedbackOracle* oracle)
|
| - : function_state_(NULL),
|
| - initial_function_state_(this, info, oracle),
|
| - ast_context_(NULL),
|
| - break_scope_(NULL),
|
| - graph_(NULL),
|
| - current_block_(NULL),
|
| - inlined_count_(0),
|
| - zone_(info->isolate()->zone()) {
|
| - // This is not initialized in the initializer list because the
|
| - // constructor for the initial state relies on function_state_ == NULL
|
| - // to know it's the initial state.
|
| - function_state_= &initial_function_state_;
|
| - }
|
| + HGraphBuilder(CompilationInfo* info, TypeFeedbackOracle* oracle);
|
|
|
| HGraph* CreateGraph();
|
|
|
| @@ -688,6 +675,8 @@ class HGraphBuilder: public AstVisitor {
|
| return current_block()->last_environment();
|
| }
|
|
|
| + bool inline_bailout() { return inline_bailout_; }
|
| +
|
| // Adding instructions.
|
| HInstruction* AddInstruction(HInstruction* instr);
|
| void AddSimulate(int id);
|
| @@ -974,6 +963,8 @@ class HGraphBuilder: public AstVisitor {
|
|
|
| Zone* zone_;
|
|
|
| + bool inline_bailout_;
|
| +
|
| friend class FunctionState; // Pushes and pops the state stack.
|
| friend class AstContext; // Pushes and pops the AST context stack.
|
|
|
|
|