Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 0ce24652db3ad3aceb9fdb57e4e342499fb1cc60..c577333bf5904bd01f5eacb1506c8a7898d088a6 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -31,7 +31,7 @@ class AstGraphBuilder : public AstVisitor { |
LoopAssignmentAnalysis* loop_assignment = NULL); |
// Creates a graph by visiting the entire AST. |
- bool CreateGraph(bool constant_context); |
+ bool CreateGraph(bool constant_context, bool stack_check = true); |
// Helpers to create new control nodes. |
Node* NewIfTrue() { return NewNode(common()->IfTrue()); } |
@@ -125,7 +125,7 @@ class AstGraphBuilder : public AstVisitor { |
void set_exit_control(Node* exit) { exit_control_ = exit; } |
// Create the main graph body by visiting the AST. |
- void CreateGraphBody(); |
+ void CreateGraphBody(bool stack_check); |
// Create the node that represents the outer context of the function. |
void CreateFunctionContext(bool constant_context); |