Index: src/compiler/node-properties.h |
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h |
index 83a5dc1ed30134f2fdfeb027edcd3d484bf281d4..350e083017eb87d0b45f687961c0eebac65f867d 100644 |
--- a/src/compiler/node-properties.h |
+++ b/src/compiler/node-properties.h |
@@ -12,7 +12,9 @@ namespace v8 { |
namespace internal { |
namespace compiler { |
+class Graph; |
class Operator; |
+class CommonOperatorBuilder; |
// A facade that simplifies access to the different kinds of inputs to a node. |
class NodeProperties FINAL { |
@@ -80,6 +82,11 @@ class NodeProperties FINAL { |
static void ReplaceFrameStateInput(Node* node, int index, Node* frame_state); |
static void RemoveNonValueInputs(Node* node); |
+ // 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, |
+ Node* node); |
+ |
// Replace value uses of {node} with {value} and effect uses of {node} with |
// {effect}. If {effect == NULL}, then use the effect input to {node}. All |
// control uses will be relaxed assuming {node} cannot throw. |