Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: src/compiler/js-call-reducer.h

Issue 2956233002: [turbofan] Further optimize spread/apply with arguments/rest parameters. (Closed)
Patch Set: Fix nit. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698