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

Method def_value

cranelift/reader/src/sourcemap.rs:143–145  ·  view source on GitHub ↗

Define the value `entity`.

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

Source from the content-addressed store, hash-verified

141
142 /// Define the value `entity`.
143 pub fn def_value(&mut self, entity: Value, loc: Location) -> ParseResult<()> {
144 self.def_entity(entity.into(), loc)
145 }
146
147 /// Define the block `entity`.
148 pub fn def_block(&mut self, entity: Block, loc: Location) -> ParseResult<()> {

Callers 3

parse_block_paramMethod · 0.80
parse_value_aliasMethod · 0.80
parse_instructionMethod · 0.80

Calls 1

def_entityMethod · 0.80

Tested by

no test coverage detected