Index: src/compiler/js-call-reducer.h |
diff --git a/src/compiler/js-call-reducer.h b/src/compiler/js-call-reducer.h |
index 9ffae152ac08b76b168c0303c55327896110fda4..f40f05d852a05a6ec583721bb2034be3280e504e 100644 |
--- a/src/compiler/js-call-reducer.h |
+++ b/src/compiler/js-call-reducer.h |
@@ -20,7 +20,7 @@ class JSOperatorBuilder; |
// Performs strength reduction on {JSCallConstruct} and {JSCallFunction} nodes, |
// which might allow inlining or other optimizations to be performed afterwards. |
-class JSCallReducer final : public Reducer { |
+class JSCallReducer final : public AdvancedReducer { |
public: |
// Flags that control the mode of operation. |
enum Flag { |
@@ -29,9 +29,12 @@ class JSCallReducer final : public Reducer { |
}; |
typedef base::Flags<Flag> Flags; |
- JSCallReducer(JSGraph* jsgraph, Flags flags, |
+ JSCallReducer(Editor* editor, JSGraph* jsgraph, Flags flags, |
MaybeHandle<Context> native_context) |
- : jsgraph_(jsgraph), flags_(flags), native_context_(native_context) {} |
+ : AdvancedReducer(editor), |
+ jsgraph_(jsgraph), |
+ flags_(flags), |
+ native_context_(native_context) {} |
Reduction Reduce(Node* node) final; |