Index: src/compiler/node.cc |
diff --git a/src/compiler/node.cc b/src/compiler/node.cc |
index e92dccc739bfb3f6e1a3545f1a0069d717fd2447..022c44db2dddf257f868a776eacec01eeb9dbdec 100644 |
--- a/src/compiler/node.cc |
+++ b/src/compiler/node.cc |
@@ -112,7 +112,7 @@ Node* Node::Clone(Zone* zone, NodeId id, const Node* node) { |
? node->inputs_.inline_ |
: node->inputs_.outline_->inputs_; |
Node* const clone = New(zone, id, node->op(), input_count, inputs, false); |
- clone->set_bounds(node->bounds()); |
+ clone->set_type(node->type()); |
return clone; |
} |
@@ -273,6 +273,7 @@ bool Node::OwnedBy(Node const* owner1, Node const* owner2) const { |
Node::Node(NodeId id, const Operator* op, int inline_count, int inline_capacity) |
: op_(op), |
+ type_(nullptr), |
mark_(0), |
bit_field_(IdField::encode(id) | InlineCountField::encode(inline_count) | |
InlineCapacityField::encode(inline_capacity)), |