Index: src/compiler/load-elimination.h |
diff --git a/src/compiler/load-elimination.h b/src/compiler/load-elimination.h |
index 9ab60c8a4a9d73417dc7c9045d6b6144764c2724..cba84fb934bfc63669df6d931b990862df448e39 100644 |
--- a/src/compiler/load-elimination.h |
+++ b/src/compiler/load-elimination.h |
@@ -13,12 +13,11 @@ |
// Foward declarations. |
struct FieldAccess; |
-class JSGraph; |
class LoadElimination final : public AdvancedReducer { |
public: |
- LoadElimination(Editor* editor, JSGraph* jsgraph, Zone* zone) |
- : AdvancedReducer(editor), node_states_(zone), jsgraph_(jsgraph) {} |
+ LoadElimination(Editor* editor, Zone* zone) |
+ : AdvancedReducer(editor), node_states_(zone) {} |
~LoadElimination() final {} |
Reduction Reduce(Node* node) final; |
@@ -151,7 +150,6 @@ |
}; |
Reduction ReduceCheckMaps(Node* node); |
- Reduction ReduceEnsureWritableFastElements(Node* node); |
Reduction ReduceTransitionElementsKind(Node* node); |
Reduction ReduceLoadField(Node* node); |
Reduction ReduceStoreField(Node* node); |
@@ -170,12 +168,10 @@ |
static int FieldIndexOf(FieldAccess const& access); |
AbstractState const* empty_state() const { return &empty_state_; } |
- JSGraph* jsgraph() const { return jsgraph_; } |
Zone* zone() const { return node_states_.zone(); } |
AbstractState const empty_state_; |
AbstractStateForEffectNodes node_states_; |
- JSGraph* const jsgraph_; |
DISALLOW_COPY_AND_ASSIGN(LoadElimination); |
}; |