Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 298b72d9514a9a3f686d38ace72176b5bdc16bfc..17190bc8b7adad0612335c14cb2895fa654a5d4f 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); |
// 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 function context. |
+ Node* GetFunctionContext(); |
+ |
// Node creation helpers. |
Node* NewNode(const Operator* op, bool incomplete = false) { |
return MakeNode(op, 0, static_cast<Node**>(NULL), incomplete); |
@@ -202,8 +202,6 @@ class AstGraphBuilder : public AstVisitor { |
Node* NewPhi(int count, Node* input, Node* control); |
Node* NewEffectPhi(int count, Node* input, Node* control); |
- Node* NewOuterContextParam(); |
- |
// Helpers for merging control, effect or value dependencies. |
Node* MergeControl(Node* control, Node* other); |
Node* MergeEffect(Node* value, Node* other, Node* control); |