MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / get_machine_env

Method get_machine_env

cranelift/codegen/src/isa/s390x/abi.rs:906–917  ·  view source on GitHub ↗
(_flags: &settings::Flags, call_conv: isa::CallConv)

Source from the content-addressed store, hash-verified

904 }
905
906 fn get_machine_env(_flags: &settings::Flags, call_conv: isa::CallConv) -> &MachineEnv {
907 match call_conv {
908 isa::CallConv::Tail => {
909 static TAIL_MACHINE_ENV: MachineEnv = tail_create_machine_env();
910 &TAIL_MACHINE_ENV
911 }
912 _ => {
913 static SYSV_MACHINE_ENV: MachineEnv = sysv_create_machine_env();
914 &SYSV_MACHINE_ENV
915 }
916 }
917 }
918
919 fn get_regs_clobbered_by_call(
920 call_conv_of_callee: isa::CallConv,

Callers

nothing calls this directly

Calls 2

tail_create_machine_envFunction · 0.85
sysv_create_machine_envFunction · 0.85

Tested by

no test coverage detected