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

Method def_dt

cranelift/reader/src/sourcemap.rs:163–165  ·  view source on GitHub ↗

Define the dynamic type `entity`.

(&mut self, entity: DynamicType, loc: Location)

Source from the content-addressed store, hash-verified

161
162 /// Define the dynamic type `entity`.
163 pub fn def_dt(&mut self, entity: DynamicType, loc: Location) -> ParseResult<()> {
164 self.def_entity(entity.into(), loc)
165 }
166
167 /// Define the global value `entity`.
168 pub fn def_gv(&mut self, entity: GlobalValue, loc: Location) -> ParseResult<()> {

Callers 1

add_dtMethod · 0.80

Calls 1

def_entityMethod · 0.80

Tested by

no test coverage detected