Index: src/compiler/js-call-reducer.h |
diff --git a/src/compiler/js-call-reducer.h b/src/compiler/js-call-reducer.h |
index b9a595751ccec5c5efde9482684524a9c445c6a0..6a1f0d8fcc227e096119f3177b71e47e3ce1849e 100644 |
--- a/src/compiler/js-call-reducer.h |
+++ b/src/compiler/js-call-reducer.h |
@@ -38,6 +38,10 @@ class JSCallReducer final : public AdvancedReducer { |
Reduction Reduce(Node* node) final; |
+ // Processes the waitlist gathered while the reducer was running, |
+ // and does a final attempt to reduce the nodes in the waitlist. |
+ void Finalize() final; |
+ |
private: |
Reduction ReduceArrayConstructor(Node* node); |
Reduction ReduceBooleanConstructor(Node* node); |
@@ -79,6 +83,7 @@ class JSCallReducer final : public AdvancedReducer { |
JSGraph* const jsgraph_; |
Handle<Context> const native_context_; |
CompilationDependencies* const dependencies_; |
+ std::set<Node*> waitlist_; |
}; |
} // namespace compiler |