| Index: src/compiler/graph.cc
|
| diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc
|
| index ac7c80c568a94fdf378dbfc2b2e5cc2fdd54234c..7956df473d42faae93bb9003cd1c605d3adef1b0 100644
|
| --- a/src/compiler/graph.cc
|
| +++ b/src/compiler/graph.cc
|
| @@ -8,7 +8,7 @@
|
|
|
| #include "src/base/bits.h"
|
| #include "src/compiler/node.h"
|
| -#include "src/compiler/operator-properties.h"
|
| +#include "src/compiler/node-properties.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -44,8 +44,11 @@ void Graph::RemoveDecorator(GraphDecorator* decorator) {
|
|
|
| Node* Graph::NewNode(const Operator* op, int input_count, Node** inputs,
|
| bool incomplete) {
|
| - DCHECK_EQ(OperatorProperties::GetTotalInputCount(op), input_count);
|
| - return NewNodeUnchecked(op, input_count, inputs, incomplete);
|
| + Node* node = NewNodeUnchecked(op, input_count, inputs, incomplete);
|
| +#ifdef DEBUG
|
| + NodeProperties::Verify(node);
|
| +#endif // DEBUG
|
| + return node;
|
| }
|
|
|
|
|
|
|