31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
if( m_index != rhs.m_index )
return m_index < rhs.m_index;
return m_type < rhs.m_type;
}
friend ostream& operator<<( ostream& out, const AllocVar& ins )
{
return out << "ALLOCVAR(" << ins.m_index << ", " << ins.m_type.get() << ')';
}
private:
LowerableType m_type;
uint32_t m_index = 0;
};
} // namespace goose::cir
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
if( m_index != rhs.m_index )
return m_index < rhs.m_index;
return m_type < rhs.m_type;
}
friend ostream& operator<<( ostream& out, const AllocVar& ins )
{
return out << "ALLOCVAR(" << ins.m_index << ", " << ins.m_type.type() << ')';
}
private:
LowerableType m_type;
uint32_t m_index = 0;
};
} // namespace goose::cir
|