Index: src/compiler/js-context-specialization.h |
diff --git a/src/compiler/js-context-specialization.h b/src/compiler/js-context-specialization.h |
index 4a2ce9829ad55c070c6165c6b1c848e72dce74e5..f01ac3f9707e702bb15c1299d5a7d57c7901e7d5 100644 |
--- a/src/compiler/js-context-specialization.h |
+++ b/src/compiler/js-context-specialization.h |
@@ -15,9 +15,10 @@ namespace compiler { |
// Specializes a given JSGraph to a given context, potentially constant folding |
// some {LoadContext} nodes or strength reducing some {StoreContext} nodes. |
-class JSContextSpecializer : public Reducer { |
+class JSContextSpecializer : public AdvancedReducer { |
public: |
- explicit JSContextSpecializer(JSGraph* jsgraph) : jsgraph_(jsgraph) {} |
+ JSContextSpecializer(Editor* editor, JSGraph* jsgraph) |
+ : AdvancedReducer(editor), jsgraph_(jsgraph) {} |
Reduction Reduce(Node* node) override; |