5#ifndef V8_OBJECTS_FIELD_INDEX_H_
6#define V8_OBJECTS_FIELD_INDEX_H_
94 switch (representation.
kind()) {
static constexpr int kLastUsedBit
static constexpr T decode(U value)
static constexpr U encode(T value)
bool operator!=(FieldIndex const &other) const
uint64_t bit_field() const
static FieldIndex ForSmiLoadHandler(Tagged< Map > map, int32_t handler)
int GetLoadByFieldIndex() const
static FieldIndex ForPropertyIndex(Tagged< Map > map, int index, Representation representation=Representation::Tagged())
int first_inobject_property_offset() const
static const int kOffsetBitsSize
static Encoding FieldEncoding(Representation representation)
int outobject_array_index() const
int property_index() const
static FieldIndex ForDetails(Tagged< Map > map, PropertyDetails details)
bool operator==(FieldIndex const &other) const
FieldIndex(bool is_inobject, int offset, Encoding encoding, int inobject_properties, int first_inobject_property_offset)
static FieldIndex ForDescriptor(Tagged< Map > map, InternalIndex descriptor_index)
static FieldIndex ForInObjectOffset(int offset, Encoding encoding)
int GetFieldAccessStubKey() const
const char * Mnemonic() const
constexpr Kind kind() const
static constexpr Representation Tagged()
ZoneVector< RpoNumber > & result
constexpr int kTaggedSize
void PrintF(const char *format,...)
constexpr int kTaggedSizeLog2
static const int kDescriptorIndexBitCount
#define DCHECK(condition)
constexpr bool IsAligned(T value, U alignment)