Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 99cca0ac8c7dd0675bce98baa4881ab06a3cd1b8..fa938609db8a0ba2d967df3ef4d5aed717d7bef4 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -705,6 +705,8 @@ bool HeapObject::IsJSWeakCollection() const { |
return IsJSWeakMap() || IsJSWeakSet(); |
} |
+bool HeapObject::IsJSCollection() const { return IsJSMap() || IsJSSet(); } |
+ |
bool HeapObject::IsDescriptorArray() const { return IsFixedArray(); } |
bool HeapObject::IsArrayList() const { return IsFixedArray(); } |