Index: src/compiler/graph.h |
diff --git a/src/compiler/graph.h b/src/compiler/graph.h |
index b53c7fd308338e1ab04a4433798ed0dbb7be5c77..958a15d282c01b03ad7402b97e89e937541800a0 100644 |
--- a/src/compiler/graph.h |
+++ b/src/compiler/graph.h |
@@ -34,16 +34,16 @@ class Graph : public ZoneObject { |
explicit Graph(Zone* zone); |
// Base implementation used by all factory methods. |
- Node* NewNodeUnchecked(const Operator* op, int input_count, Node** inputs, |
- bool incomplete = false); |
+ Node* NewNodeUnchecked(const Operator* op, int input_count, |
+ Node* const* inputs, bool incomplete = false); |
// Factory that checks the input count. |
- Node* NewNode(const Operator* op, int input_count, Node** inputs, |
+ Node* NewNode(const Operator* op, int input_count, Node* const* inputs, |
bool incomplete = false); |
// Factories for nodes with static input counts. |
Node* NewNode(const Operator* op) { |
- return NewNode(op, 0, static_cast<Node**>(nullptr)); |
+ return NewNode(op, 0, static_cast<Node* const*>(nullptr)); |
} |
Node* NewNode(const Operator* op, Node* n1) { return NewNode(op, 1, &n1); } |
Node* NewNode(const Operator* op, Node* n1, Node* n2) { |