Chromium Code Reviews| Index: src/compiler/node-properties.h |
| diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h |
| index 83a5dc1ed30134f2fdfeb027edcd3d484bf281d4..30dabeaa18d441fbd04f71ca9278dbd3704c37f9 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,9 @@ class NodeProperties FINAL { |
| static void ReplaceFrameStateInput(Node* node, int index, Node* frame_state); |
| static void RemoveNonValueInputs(Node* node); |
| + static void MergeControlToEnd(Graph* graph, CommonOperatorBuilder* common, |
|
Michael Starzinger
2015/03/24 09:06:40
Can we get a short comment explaining the intent o
titzer
2015/03/24 10:49:32
Done.
|
| + 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. |