Skip to content

Instantly share code, notes, and snippets.

View playXE's full-sized avatar
🐢
Keep Rollin' Rollin' Rollin'

playX playXE

🐢
Keep Rollin' Rollin' Rollin'
  • VDX.tv
  • Da Nang, Vietnam
  • 10:39 (UTC +07:00)
View GitHub Profile
impl LIns {
/// Returns instruction result type
#[inline(always)]
pub const fn ret_type(&self) -> LIRTy {
RET_TYPES[self.opcode as usize]
}
#[inline]
pub const fn is_live(&self) -> bool {
self.is_v() | self.is_call() | self.is_op(LOpcode::ParamQ) | self.is_result_live