Chromium Code Reviews| Index: src/compiler/ast-graph-builder.h |
| diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
| index 770d2d94345f41972f30df9095fbee428191f142..478514bd4b84a8216fc71cd2df2cb18fbcbf8370 100644 |
| --- a/src/compiler/ast-graph-builder.h |
| +++ b/src/compiler/ast-graph-builder.h |
| @@ -35,7 +35,7 @@ class AstGraphBuilder : public AstVisitor { |
| JSTypeFeedbackTable* js_type_feedback = NULL); |
| // Creates a graph by visiting the entire AST. |
| - bool CreateGraph(bool constant_context, bool stack_check = true); |
| + bool CreateGraph(bool stack_check = true); |
|
Michael Starzinger
2015/06/30 12:48:44
Woot! I love this!
|
| // Helpers to create new control nodes. |
| Node* NewIfTrue() { return NewNode(common()->IfTrue()); } |
| @@ -150,13 +150,13 @@ class AstGraphBuilder : public AstVisitor { |
| // Create the main graph body by visiting the AST. |
| void CreateGraphBody(bool stack_check); |
| - // Create the node that represents the outer context of the function. |
| - void CreateFunctionContext(bool constant_context); |
| - |
| // Get or create the node that represents the outer function closure. |
| Node* GetFunctionClosureForContext(); |
| Node* GetFunctionClosure(); |
| + // Get or create the node that represents the outer context of the function. |
| + Node* GetFunctionContext(); |
| + |
| // Node creation helpers. |
| Node* NewNode(const Operator* op, bool incomplete = false) { |
| return MakeNode(op, 0, static_cast<Node**>(NULL), incomplete); |
| @@ -202,9 +202,6 @@ class AstGraphBuilder : public AstVisitor { |
| Node* NewPhi(int count, Node* input, Node* control); |
| Node* NewEffectPhi(int count, Node* input, Node* control); |
| - Node* NewOuterContextParam(); |
| - Node* NewCurrentContextOsrValue(); |
| - |
| // Helpers for merging control, effect or value dependencies. |
| Node* MergeControl(Node* control, Node* other); |
| Node* MergeEffect(Node* value, Node* other, Node* control); |