| Index: src/compiler/ast-graph-builder.h | 
| diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h | 
| index 4bf06d820f01bfa78165df90e6b4d628c08d7874..545f26778214cdf6098adc31fc0f54abb1e30675 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 CreateGraph(bool constant_context); | 
|  | 
| // Helpers to create new control nodes. | 
| Node* NewIfTrue() { return NewNode(common()->IfTrue()); } | 
| @@ -51,12 +51,6 @@ class AstGraphBuilder : public AstVisitor { | 
| // Visiting function for declarations list is overridden. | 
| void VisitDeclarations(ZoneList<Declaration*>* declarations) OVERRIDE; | 
|  | 
| -  // Get the node that represents the outer function context. | 
| -  Node* GetFunctionContext(); | 
| - | 
| -  // Get the node that represents the outer function closure. | 
| -  Node* GetFunctionClosure(); | 
| - | 
| private: | 
| class AstContext; | 
| class AstEffectContext; | 
| @@ -77,8 +71,6 @@ class AstGraphBuilder : public AstVisitor { | 
| Environment* environment_; | 
| AstContext* ast_context_; | 
|  | 
| -  bool CreateGraphBody(); | 
| - | 
| // List of global declarations for functions and variables. | 
| ZoneVector<Handle<Object>> globals_; | 
|  | 
| @@ -90,7 +82,7 @@ class AstGraphBuilder : public AstVisitor { | 
|  | 
| // Nodes representing values in the activation record. | 
| SetOncePointer<Node> function_closure_; | 
| -  Node* function_context_; | 
| +  SetOncePointer<Node> function_context_; | 
|  | 
| // Temporary storage for building node input lists. | 
| int input_buffer_size_; | 
| @@ -129,6 +121,14 @@ class AstGraphBuilder : public AstVisitor { | 
| void set_execution_context(ContextScope* ctx) { execution_context_ = ctx; } | 
| void set_exit_control(Node* exit) { exit_control_ = exit; } | 
|  | 
| +  bool CreateGraphBody(); | 
| + | 
| +  // Get the node that represents the outer function context. | 
| +  Node* GetFunctionContext(); | 
| + | 
| +  // Get the node that represents the outer function closure. | 
| +  Node* GetFunctionClosure(); | 
| + | 
| // Node creation helpers. | 
| Node* NewNode(const Operator* op, bool incomplete = false) { | 
| return MakeNode(op, 0, static_cast<Node**>(NULL), incomplete); | 
|  |