Lines Matching defs:roots
14 #include "src/roots/roots-inl.h"
135 Handle<Map> HashTable<Derived, Shape>::GetMap(ReadOnlyRoots roots) {
136 return roots.hash_table_map_handle();
140 Handle<Map> NameToIndexHashTable::GetMap(ReadOnlyRoots roots) {
141 return roots.name_to_index_hash_table_map_handle();
145 Handle<Map> RegisteredSymbolTable::GetMap(ReadOnlyRoots roots) {
146 return roots.registered_symbol_table_map_handle();
150 Handle<Map> EphemeronHashTable::GetMap(ReadOnlyRoots roots) {
151 return roots.ephemeron_hash_table_map_handle();
157 ReadOnlyRoots roots(isolate);
158 return FindEntry(isolate, roots, key, Shape::Hash(roots, key));
164 ReadOnlyRoots roots, Key key,
169 Object undefined = roots.undefined_value();
170 Object the_hole = roots.the_hole_value();
192 bool HashTable<Derived, Shape>::IsKey(ReadOnlyRoots roots, Object k) {
194 return k != roots.undefined_value() && k != roots.the_hole_value();
198 bool HashTable<Derived, Shape>::ToKey(ReadOnlyRoots roots, InternalIndex entry,
201 if (!IsKey(roots, k)) return false;
284 uint32_t RegisteredSymbolTableShape::Hash(ReadOnlyRoots roots,
289 uint32_t RegisteredSymbolTableShape::HashForObject(ReadOnlyRoots roots,
298 uint32_t NameToIndexShape::HashForObject(ReadOnlyRoots roots, Object other) {
302 uint32_t NameToIndexShape::Hash(ReadOnlyRoots roots, Handle<Name> key) {
306 uint32_t ObjectHashTableShape::Hash(ReadOnlyRoots roots, Handle<Object> key) {
310 uint32_t ObjectHashTableShape::HashForObject(ReadOnlyRoots roots,