Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 50d02f9f655e887b10cf5dc4e290d0a343cd7480..c086fa3d5f16f3fb825c7b2d3a63bcf39548d5e4 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -891,6 +891,9 @@ bool Object::IsWeakHashTable() const { |
} |
+bool Object::IsWeakValueHashTable() const { return IsHashTable(); } |
+ |
+ |
bool Object::IsDictionary() const { |
return IsHashTable() && |
this != HeapObject::cast(this)->GetHeap()->string_table(); |
@@ -3436,6 +3439,7 @@ CAST_ACCESSOR(UnseededNumberDictionary) |
CAST_ACCESSOR(WeakCell) |
CAST_ACCESSOR(WeakFixedArray) |
CAST_ACCESSOR(WeakHashTable) |
+CAST_ACCESSOR(WeakValueHashTable) |
// static |