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

Unified Diff: src/compiler/js-graph.h

Issue 2829093002: [turbofan] Avoid creating singleton state-values for the accumulator. (Closed)
Patch Set: Improve comment Created 3 years, 8 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 | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-graph.h
diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h
index 8f81555cb22abb21822979f32bb2b599aa350b82..4b3ed4856a338221c8657635253476d50b7c53dd 100644
--- a/src/compiler/js-graph.h
+++ b/src/compiler/js-graph.h
@@ -142,6 +142,10 @@ class V8_EXPORT_PRIVATE JSGraph : public NON_EXPORTED_BASE(ZoneObject) {
// values for a certain part of the frame state.
Node* EmptyStateValues();
+ // Typed state values with a single dead input. This is useful to represent
+ // dead accumulator.
+ Node* SingleDeadTypedStateValues();
+
// Create a control node that serves as dependency for dead nodes.
Node* Dead();
@@ -181,6 +185,7 @@ class V8_EXPORT_PRIVATE JSGraph : public NON_EXPORTED_BASE(ZoneObject) {
kOneConstant,
kNaNConstant,
kEmptyStateValues,
+ kSingleDeadTypedStateValues,
kDead,
kNumCachedNodes // Must remain last.
};
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698