Index: src/compiler/node-properties.h |
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h |
index 6d11f6cfcce507ce8b1b47a8066d2ceacab23d05..35bd075976d9c700dea2a1a7dbd5bfdc209fb5cb 100644 |
--- a/src/compiler/node-properties.h |
+++ b/src/compiler/node-properties.h |
@@ -124,6 +124,9 @@ class NodeProperties final { |
DCHECK_NOT_NULL(bounds.upper); |
node->set_bounds(bounds); |
} |
+ static void CopyBounds(Node* dst, Node* src) { |
+ dst->set_bounds(src->bounds()); |
+ } |
static void RemoveBounds(Node* node) { node->set_bounds(Bounds()); } |
static bool AllValueInputsAreTyped(Node* node); |