Index: test/unittests/compiler/load-elimination-unittest.cc |
diff --git a/test/unittests/compiler/load-elimination-unittest.cc b/test/unittests/compiler/load-elimination-unittest.cc |
index 38bb151dbaaa6480154ecc063c60380e0072e017..721d6dfb1e551c5c6cf8af9b18ec9da46a4cbe4f 100644 |
--- a/test/unittests/compiler/load-elimination-unittest.cc |
+++ b/test/unittests/compiler/load-elimination-unittest.cc |
@@ -14,23 +14,20 @@ namespace compiler { |
class LoadEliminationTest : public TypedGraphTest { |
public: |
- LoadEliminationTest() |
- : TypedGraphTest(3), common_(zone()), simplified_(zone()) {} |
+ LoadEliminationTest() : TypedGraphTest(3), simplified_(zone()) {} |
~LoadEliminationTest() override {} |
protected: |
Reduction Reduce(Node* node) { |
// TODO(titzer): mock the GraphReducer here for better unit testing. |
GraphReducer graph_reducer(zone(), graph()); |
- LoadElimination reducer(&graph_reducer, graph(), common()); |
+ LoadElimination reducer(&graph_reducer, graph(), simplified()); |
return reducer.Reduce(node); |
} |
SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
- CommonOperatorBuilder* common() { return &common_; } |
private: |
- CommonOperatorBuilder common_; |
SimplifiedOperatorBuilder simplified_; |
}; |