Index: src/compiler/graph.h |
diff --git a/src/compiler/graph.h b/src/compiler/graph.h |
index 44258feeb2453976dc69c4387dec10678bedee8a..cb073b312acafdc01933bbb6f113be18a714f1c4 100644 |
--- a/src/compiler/graph.h |
+++ b/src/compiler/graph.h |
@@ -80,6 +80,9 @@ class Graph : public ZoneObject { |
return NewNode(op, arraysize(nodes), nodes); |
} |
+ // Clone the {node}, and assign a new node id to the copy. |
+ Node* CloneNode(const Node* node); |
+ |
template <class Visitor> |
inline void VisitNodeInputsFromEnd(Visitor* visitor); |