Index: src/compiler/load-elimination.h |
diff --git a/src/compiler/load-elimination.h b/src/compiler/load-elimination.h |
index 92c6dd01ba20fbbd54a67b0d122f1ba04d6e3da1..4a1323b279491fb2423cab77a1ea49e5eabe8c9a 100644 |
--- a/src/compiler/load-elimination.h |
+++ b/src/compiler/load-elimination.h |
@@ -11,25 +11,26 @@ namespace v8 { |
namespace internal { |
namespace compiler { |
-class CommonOperatorBuilder; |
class Graph; |
+class SimplifiedOperatorBuilder; |
class LoadElimination final : public AdvancedReducer { |
public: |
explicit LoadElimination(Editor* editor, Graph* graph, |
- CommonOperatorBuilder* common) |
- : AdvancedReducer(editor), graph_(graph), common_(common) {} |
+ SimplifiedOperatorBuilder* simplified) |
+ : AdvancedReducer(editor), graph_(graph), simplified_(simplified) {} |
~LoadElimination() final; |
Reduction Reduce(Node* node) final; |
private: |
- CommonOperatorBuilder* common() const { return common_; } |
- Graph* graph() { return graph_; } |
+ SimplifiedOperatorBuilder* simplified() const { return simplified_; } |
+ Graph* graph() const { return graph_; } |
Reduction ReduceLoadField(Node* node); |
- Graph* graph_; |
- CommonOperatorBuilder* common_; |
+ |
+ Graph* const graph_; |
+ SimplifiedOperatorBuilder* const simplified_; |
}; |
} // namespace compiler |