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

Unified Diff: src/compiler/node-properties.h

Issue 1466643002: [turbofan] Initial support for Array constructor specialization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Michi's comments. Created 5 years, 1 month 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/js-typed-lowering.cc ('k') | src/compiler/node-properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node-properties.h
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h
index 8019019cba1865fa78f6ca48b59d56b025722f72..cc1e67c8a300a6eaf5d47a454f02a0e442a98e81 100644
--- a/src/compiler/node-properties.h
+++ b/src/compiler/node-properties.h
@@ -88,6 +88,9 @@ class NodeProperties final {
static void RemoveNonValueInputs(Node* node);
static void RemoveValueInputs(Node* node);
+ // Replaces all value inputs of {node} with the single input {value}.
+ static void ReplaceValueInputs(Node* node, Node* value);
+
// Merge the control node {node} into the end of the graph, introducing a
// merge node or expanding an existing merge node if necessary.
static void MergeControlToEnd(Graph* graph, CommonOperatorBuilder* common,
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/node-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698