Index: src/compiler/graph.cc |
diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc |
index 3d4d6da89c2dfb1ff480f3daf74359565abce2b5..ba69617bd2c180dfe049263c2ac3a85b42b3c95b 100644 |
--- a/src/compiler/graph.cc |
+++ b/src/compiler/graph.cc |
@@ -42,17 +42,15 @@ void Graph::RemoveDecorator(GraphDecorator* decorator) { |
decorators_.erase(it); |
} |
- |
-Node* Graph::NewNode(const Operator* op, int input_count, Node** inputs, |
+Node* Graph::NewNode(const Operator* op, int input_count, Node* const* inputs, |
bool incomplete) { |
Node* node = NewNodeUnchecked(op, input_count, inputs, incomplete); |
Verifier::VerifyNode(node); |
return node; |
} |
- |
Node* Graph::NewNodeUnchecked(const Operator* op, int input_count, |
- Node** inputs, bool incomplete) { |
+ Node* const* inputs, bool incomplete) { |
Node* const node = |
Node::New(zone(), NextNodeId(), op, input_count, inputs, incomplete); |
Decorate(node); |