Commit 84294418 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Rename seeded_number_dictionary_map.

Now that we only have the seeded variant, let's call it
number_dictionary_map. It's cleaner.

R=mstarzinger@chromium.org

Change-Id: I3e36ecb15140b5def835ca8ebe50ab829a21892d
Reviewed-on: https://chromium-review.googlesource.com/756749Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49183}
parent a0d1e58f
......@@ -106,7 +106,7 @@ using v8::MemoryPressureLevel;
V(Map, ordered_hash_table_map, OrderedHashTableMap) \
V(Map, name_dictionary_map, NameDictionaryMap) \
V(Map, global_dictionary_map, GlobalDictionaryMap) \
V(Map, seeded_number_dictionary_map, NumberDictionaryMap) \
V(Map, number_dictionary_map, NumberDictionaryMap) \
V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \
V(Map, small_ordered_hash_map_map, SmallOrderedHashMapMap) \
V(Map, small_ordered_hash_set_map, SmallOrderedHashSetMap) \
......
......@@ -290,7 +290,7 @@ bool Heap::CreateInitialMaps() {
ALLOCATE_VARSIZE_MAP(HASH_TABLE_TYPE, ordered_hash_table)
ALLOCATE_VARSIZE_MAP(HASH_TABLE_TYPE, name_dictionary)
ALLOCATE_VARSIZE_MAP(HASH_TABLE_TYPE, global_dictionary)
ALLOCATE_VARSIZE_MAP(HASH_TABLE_TYPE, seeded_number_dictionary)
ALLOCATE_VARSIZE_MAP(HASH_TABLE_TYPE, number_dictionary)
ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, function_context)
ALLOCATE_VARSIZE_MAP(FIXED_ARRAY_TYPE, catch_context)
......
......@@ -433,7 +433,7 @@ bool HeapObject::IsNameDictionary() const {
}
bool HeapObject::IsNumberDictionary() const {
return map() == GetHeap()->seeded_number_dictionary_map();
return map() == GetHeap()->number_dictionary_map();
}
bool HeapObject::IsStringTable() const { return IsHashTable(); }
......@@ -4845,7 +4845,7 @@ uint32_t NumberDictionaryShape::HashForObject(Isolate* isolate, Object* other) {
}
Map* NumberDictionaryShape::GetMap(Isolate* isolate) {
return isolate->heap()->seeded_number_dictionary_map();
return isolate->heap()->number_dictionary_map();
}
Handle<Object> NumberDictionaryShape::AsHandle(Isolate* isolate, uint32_t key) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment