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

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/cranelift-codegen-0.116.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-28.0.0 ./ext/cargo-vendor/cranelift-codegen-0.115.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-27.0.0 ./ext/cargo-vendor/cranelift-codegen-0.114.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-26.0.0 ./ext/cargo-vendor/cranelift-codegen-0.113.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-25.0.2 ./ext/cargo-vendor/cranelift-codegen-0.112.2/src/isa/x64/inst/unwind/winx64.rs
wasmtime-25.0.1 ./ext/cargo-vendor/cranelift-codegen-0.112.1/src/isa/x64/inst/unwind/winx64.rs
wasmtime-25.0.0 ./ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-24.0.0 ./ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-23.0.2 ./ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/unwind/winx64.rs
wasmtime-22.0.0 ./ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-21.0.1 ./ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/unwind/winx64.rs
wasmtime-20.0.2 ./ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/unwind/winx64.rs
wasmtime-20.0.0 ./ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/unwind/winx64.rs
wasmtime-18.0.3 ./ext/cargo-vendor/cranelift-codegen-0.105.3/src/isa/x64/inst/unwind/winx64.rs
wasmtime-17.0.1 ./ext/cargo-vendor/cranelift-codegen-0.104.1/src/isa/x64/inst/unwind/winx64.rs
wasmtime-17.0.0 ./ext/cargo-vendor/cranelift-codegen-0.104.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-16.0.0 ./ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/inst/unwind/winx64.rs
wasmtime-15.0.1 ./ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/inst/unwind/winx64.rs
wasmtime-15.0.0 ./ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/inst/unwind/winx64.rs
wasmtime-14.0.4 ./ext/cargo-vendor/cranelift-codegen-0.101.4/src/isa/x64/inst/unwind/winx64.rs