5#ifndef V8_MAGLEV_MAGLEV_REGALLOC_DATA_H_
6#define V8_MAGLEV_MAGLEV_REGALLOC_DATA_H_
47 explicit constexpr operator uintptr_t()
const {
75 DCHECK(state.GetPayload().is_initialized);
76 if (state.GetPayload().is_merge) {
86 DCHECK(state.GetPayload().is_initialized);
88 *node = (*merge)->node;
91 *node =
static_cast<ValueNode*
>(state.GetPointer());
constexpr unsigned Count() const
static constexpr DoubleRegList GetAllocatableDoubleRegisters()
static constexpr RegList GetAllocatableRegisters()
static constexpr int kAllocatableDoubleRegisterCount
base::PointerWithPayload< void, RegisterStateFlags, 2 > RegisterState
constexpr bool operator==(const RegisterStateFlags &left, const RegisterStateFlags &right)
static constexpr int kAllocatableGeneralRegisterCount
bool LoadMergeState(RegisterState state, RegisterMerge **merge)
#define DCHECK(condition)
compiler::InstructionOperand * operands()
compiler::InstructionOperand & operand(size_t i)
constexpr RegisterStateFlags(uintptr_t state)
const bool is_initialized
static constexpr int kIsInitializedShift
constexpr RegisterStateFlags(bool is_initialized, bool is_merge)
static constexpr int kIsMergeShift