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

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

Issue 2946893004: [WIP] Start adding JSCallWithVarargs
Patch Set: REBASE 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 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
« 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