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

Method get_concrete_dynamic_ty

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

Get a concrete `Type` from a user defined `DynamicType`.

(&self, ty: DynamicType)

Source from the content-addressed store, hash-verified

270
271 /// Get a concrete `Type` from a user defined `DynamicType`.
272 pub fn get_concrete_dynamic_ty(&self, ty: DynamicType) -> Option<Type> {
273 self.dfg
274 .dynamic_types
275 .get(ty)
276 .unwrap_or_else(|| panic!("Undeclared dynamic vector type: {ty}"))
277 .concrete()
278 }
279
280 /// Find a presumed unique special-purpose function parameter value.
281 ///

Callers 2

concrete_from_dtMethod · 0.80
newMethod · 0.80

Calls 2

concreteMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected