Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 52663f5758d5581be64e28047348902a52e63eaf..c6c31175e89f420384136466cb764ad1a7bdc3d5 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2913,6 +2913,7 @@ bool SeededNumberDictionary::requires_slow_elements() { |
(Smi::cast(max_index_object)->value() & kRequiresSlowElementsMask); |
} |
+ |
uint32_t SeededNumberDictionary::max_number_key() { |
DCHECK(!requires_slow_elements()); |
Object* max_index_object = get(kMaxNumberKeyIndex); |
@@ -2921,6 +2922,7 @@ uint32_t SeededNumberDictionary::max_number_key() { |
return value >> kRequiresSlowElementsTagSize; |
} |
+ |
void SeededNumberDictionary::set_requires_slow_elements() { |
set(kMaxNumberKeyIndex, Smi::FromInt(kRequiresSlowElementsMask)); |
} |