chromium/v8/src/objects/ordered-hash-table-inl.h

// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_
#define V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_

#include "src/objects/ordered-hash-table.h"

#include "src/heap/heap.h"
#include "src/objects/compressed-slots.h"
#include "src/objects/fixed-array-inl.h"
#include "src/objects/js-collection-iterator.h"
#include "src/objects/objects-inl.h"
#include "src/objects/slots.h"

// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

namespace v8 {
namespace internal {

#include "torque-generated/src/objects/ordered-hash-table-tq-inl.inc"

template <class Derived, int entrysize>
OrderedHashTable<Derived, entrysize>::OrderedHashTable(Address ptr)
    :{}

template <class Derived, int entrysize>
bool OrderedHashTable<Derived, entrysize>::IsKey(ReadOnlyRoots roots,
                                                 Tagged<Object> k) {}

OrderedHashSet::OrderedHashSet(Address ptr)
    :{}

OrderedHashMap::OrderedHashMap(Address ptr)
    :{}

OrderedNameDictionary::OrderedNameDictionary(Address ptr)
    :{}

template <class Derived>
SmallOrderedHashTable<Derived>::SmallOrderedHashTable(Address ptr)
    :{}

template <class Derived>
Tagged<Object> SmallOrderedHashTable<Derived>::KeyAt(
    InternalIndex entry) const {}

template <class Derived>
Tagged<Object> SmallOrderedHashTable<Derived>::GetDataEntry(
    int entry, int relative_index) {}

OBJECT_CONSTRUCTORS_IMPL(SmallOrderedHashSet,
                         SmallOrderedHashTable<SmallOrderedHashSet>)
OBJECT_CONSTRUCTORS_IMPL(SmallOrderedHashMap,
                         SmallOrderedHashTable<SmallOrderedHashMap>)
OBJECT_CONSTRUCTORS_IMPL(SmallOrderedNameDictionary,
                         SmallOrderedHashTable<SmallOrderedNameDictionary>)

Handle<Map> OrderedHashSet::GetMap(ReadOnlyRoots roots) {}

Handle<Map> OrderedHashMap::GetMap(ReadOnlyRoots roots) {}

Handle<Map> OrderedNameDictionary::GetMap(ReadOnlyRoots roots) {}

Handle<Map> SmallOrderedNameDictionary::GetMap(ReadOnlyRoots roots) {}

Handle<Map> SmallOrderedHashMap::GetMap(ReadOnlyRoots roots) {}

Handle<Map> SmallOrderedHashSet::GetMap(ReadOnlyRoots roots) {}

inline Tagged<Object> OrderedHashMap::ValueAt(InternalIndex entry) {}

inline Tagged<Object> OrderedNameDictionary::ValueAt(InternalIndex entry) {}

Tagged<Name> OrderedNameDictionary::NameAt(InternalIndex entry) {}

// Parameter |roots| only here for compatibility with HashTable<...>::ToKey.
template <class Derived, int entrysize>
bool OrderedHashTable<Derived, entrysize>::ToKey(ReadOnlyRoots roots,
                                                 InternalIndex entry,
                                                 Tagged<Object>* out_key) {}

// Set the value for entry.
inline void OrderedNameDictionary::ValueAtPut(InternalIndex entry,
                                              Tagged<Object> value) {}

// Returns the property details for the property at entry.
inline PropertyDetails OrderedNameDictionary::DetailsAt(InternalIndex entry) {}

inline void OrderedNameDictionary::DetailsAtPut(InternalIndex entry,
                                                PropertyDetails value) {}

inline Tagged<Object> SmallOrderedNameDictionary::ValueAt(InternalIndex entry) {}

// Set the value for entry.
inline void SmallOrderedNameDictionary::ValueAtPut(InternalIndex entry,
                                                   Tagged<Object> value) {}

// Returns the property details for the property at entry.
inline PropertyDetails SmallOrderedNameDictionary::DetailsAt(
    InternalIndex entry) {}

// Set the details for entry.
inline void SmallOrderedNameDictionary::DetailsAtPut(InternalIndex entry,
                                                     PropertyDetails value) {}

inline bool OrderedHashSet::Is(DirectHandle<HeapObject> table) {}

inline bool OrderedHashMap::Is(DirectHandle<HeapObject> table) {}

inline bool OrderedNameDictionary::Is(DirectHandle<HeapObject> table) {}

inline bool SmallOrderedHashSet::Is(DirectHandle<HeapObject> table) {}

inline bool SmallOrderedNameDictionary::Is(DirectHandle<HeapObject> table) {}

inline bool SmallOrderedHashMap::Is(DirectHandle<HeapObject> table) {}

template <class Derived>
void SmallOrderedHashTable<Derived>::SetDataEntry(int entry, int relative_index,
                                                  Tagged<Object> value) {}

template <class Derived, class TableType>
Tagged<Object> OrderedHashTableIterator<Derived, TableType>::CurrentKey() {}

inline void SmallOrderedNameDictionary::SetHash(int hash) {}

inline int SmallOrderedNameDictionary::Hash() {}

inline void OrderedNameDictionary::SetHash(int hash) {}

inline int OrderedNameDictionary::Hash() {}

}  // namespace internal
}  // namespace v8

#include "src/objects/object-macros-undef.h"

#endif  // V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_