Index: src/compiler/graph-builder.h |
diff --git a/src/compiler/graph-builder.h b/src/compiler/graph-builder.h |
index ac42f6e7f678e9fe93cca457a127d5710ff2e3b6..fc9000855429d1513700cfd54521d5ea98a8124c 100644 |
--- a/src/compiler/graph-builder.h |
+++ b/src/compiler/graph-builder.h |
@@ -109,7 +109,7 @@ class StructuredGraphBuilder : public GraphBuilder { |
virtual Node* MakeNode(Operator* op, int value_input_count, |
Node** value_inputs); |
- Environment* environment_internal() const { return environment_; } |
+ Environment* environment() const { return environment_; } |
void set_environment(Environment* env) { environment_ = env; } |
Node* current_context() const { return current_context_; } |
@@ -135,12 +135,6 @@ class StructuredGraphBuilder : public GraphBuilder { |
// depends on the graph builder, but environments themselves are not virtual. |
virtual Environment* CopyEnvironment(Environment* env); |
- // Helper when creating node that depends on control. |
- Node* GetControlDependency(); |
- |
- // Helper when creating node that updates control. |
- void UpdateControlDependency(Node* new_control); |
- |
// Helper to indicate a node exits the function body. |
void UpdateControlDependencyToLeaveFunction(Node* exit); |