Sha256: e71e9dde687b85cdddfacad0f6000d18b24fdc29664cc208c244eb56a9d5b7c9
Contents?: true
Size: 588 Bytes
Versions: 31
Compression:
Stored size: 588 Bytes
Contents
//! Unwind information for Windows x64 ABI. use crate::machinst::{Reg, RegClass}; pub(crate) struct RegisterMapper; impl crate::isa::unwind::winx64::RegisterMapper<Reg> for RegisterMapper { fn map(reg: Reg) -> crate::isa::unwind::winx64::MappedRegister { use crate::isa::unwind::winx64::MappedRegister; match reg.class() { RegClass::Int => MappedRegister::Int(reg.to_real_reg().unwrap().hw_enc()), RegClass::Float => MappedRegister::Xmm(reg.to_real_reg().unwrap().hw_enc()), RegClass::Vector => unreachable!(), } } }
Version data entries
31 entries across 31 versions & 1 rubygems