Index: src/compiler/node-properties.h |
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h |
index dd8179f13dfb9108431a6e774202578200b5a5c5..c82d78a6158e0747d9afd0aaf11a71a3913cc0ee 100644 |
--- a/src/compiler/node-properties.h |
+++ b/src/compiler/node-properties.h |
@@ -8,6 +8,7 @@ |
#include "src/compiler/node.h" |
#include "src/compiler/types.h" |
#include "src/globals.h" |
+#include "src/zone/zone-handle-set.h" |
namespace v8 { |
namespace internal { |
@@ -126,6 +127,12 @@ class V8_EXPORT_PRIVATE NodeProperties final { |
// Checks if two nodes are the same, looking past {CheckHeapObject}. |
static bool IsSame(Node* a, Node* b); |
+ // Walks up the {effect} chain to find a witness that provides map |
+ // information about the {receiver}. Doesn't look through potentially |
+ // side effecting nodes. |
+ static bool InferReceiverMaps(Node* receiver, Node* effect, |
+ ZoneHandleSet<Map>* maps_return); |
+ |
// --------------------------------------------------------------------------- |
// Context. |