Index: src/compiler/js-call-reducer.h |
diff --git a/src/compiler/js-call-reducer.h b/src/compiler/js-call-reducer.h |
index 238ca77ab9b4a1b46d9db428580a1b2768ffdc52..cd04398fdd3f662ad57db100527e68df33c601f7 100644 |
--- a/src/compiler/js-call-reducer.h |
+++ b/src/compiler/js-call-reducer.h |
@@ -43,6 +43,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); |
@@ -86,6 +90,7 @@ class JSCallReducer final : public AdvancedReducer { |
Flags const flags_; |
Handle<Context> const native_context_; |
CompilationDependencies* const dependencies_; |
+ std::set<Node*> waitlist_; |
}; |
} // namespace compiler |