| Index: src/compiler/node.h
|
| diff --git a/src/compiler/node.h b/src/compiler/node.h
|
| index 08b775c1fff688376140e1316c236b141eca09b8..6557635a2ecfb76e60865795604316d9e2c49556 100644
|
| --- a/src/compiler/node.h
|
| +++ b/src/compiler/node.h
|
| @@ -42,7 +42,8 @@ typedef uint32_t NodeId;
|
| class Node final {
|
| public:
|
| static Node* New(Zone* zone, NodeId id, const Operator* op, int input_count,
|
| - Node** inputs, bool has_extensible_inputs);
|
| + Node* const* inputs, bool has_extensible_inputs);
|
| + static Node* Clone(Zone* zone, NodeId id, const Node* node);
|
|
|
| bool IsDead() const { return InputCount() > 0 && !InputAt(0); }
|
| void Kill();
|
| @@ -284,7 +285,7 @@ class Node final {
|
| void* operator new(size_t, void* location) { return location; }
|
|
|
| // Only NodeProperties should manipulate the bounds.
|
| - Bounds bounds() { return bounds_; }
|
| + Bounds bounds() const { return bounds_; }
|
| void set_bounds(Bounds b) { bounds_ = b; }
|
|
|
| // Only NodeMarkers should manipulate the marks on nodes.
|
|
|