ASSERT(index < NUM_REGS);
ASSERT(m_data[index].lockCount);
// 'index' should not currently be named, the new name must be valid.
ASSERT(index < NUM_REGS);
ASSERT(m_data[index].lockCount);
// 'index' should not currently be named, the new name must be valid.
// 'index' should not currently have a spillOrder.
ASSERT(m_data[index].spillOrder == SpillHintInvalid);
// 'index' should not currently have a spillOrder.
ASSERT(m_data[index].spillOrder == SpillHintInvalid);
void dump()
{
// For each register, print the VirtualRegister 'name'.
for (uint32_t i =0; i < NUM_REGS; ++i) {
void dump()
{
// For each register, print the VirtualRegister 'name'.
for (uint32_t i =0; i < NUM_REGS; ++i) {
- if (m_data[i].name != InvalidVirtualRegister)
- dataLogF("[%02d]", m_data[i].name);
+ if (m_data[i].name.isValid())
+ dataLogF("[%02d]", m_data[i].name.offset());
// 'index' must be a valid register.
ASSERT(index < NUM_REGS);
// 'index' should currently be named.
// 'index' must be a valid register.
ASSERT(index < NUM_REGS);
// 'index' should currently be named.
// 'index' should currently have a valid spill order.
ASSERT(m_data[index].spillOrder != SpillHintInvalid);
// 'index' should currently have a valid spill order.
ASSERT(m_data[index].spillOrder != SpillHintInvalid);
ASSERT(i < NUM_REGS && !m_data[i].lockCount);
// Return the VirtualRegister of the named value currently stored in
ASSERT(i < NUM_REGS && !m_data[i].lockCount);
// Return the VirtualRegister of the named value currently stored in
spillMe = m_data[i].name;
// Clear any name/spillOrder currently associated with the register,
spillMe = m_data[i].name;
// Clear any name/spillOrder currently associated with the register,