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

Method get_dyn_scale

cranelift/codegen/src/ir/function.rs:261–263  ·  view source on GitHub ↗

Find the global dyn_scale value associated with given DynamicType.

(&self, ty: DynamicType)

Source from the content-addressed store, hash-verified

259
260 /// Find the global dyn_scale value associated with given DynamicType.
261 pub fn get_dyn_scale(&self, ty: DynamicType) -> GlobalValue {
262 self.dfg.dynamic_types.get(ty).unwrap().dynamic_scale
263 }
264
265 /// Find the global dyn_scale for the given stack slot.
266 pub fn get_dynamic_slot_scale(&self, dss: DynamicStackSlot) -> GlobalValue {

Callers 1

Calls 2

unwrapMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected