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

Method def_block

cranelift/reader/src/sourcemap.rs:148–150  ·  view source on GitHub ↗

Define the block `entity`.

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

Source from the content-addressed store, hash-verified

146
147 /// Define the block `entity`.
148 pub fn def_block(&mut self, entity: Block, loc: Location) -> ParseResult<()> {
149 self.def_entity(entity.into(), loc)
150 }
151
152 /// Define the stack slot `entity`.
153 pub fn def_ss(&mut self, entity: StackSlot, loc: Location) -> ParseResult<()> {

Callers 1

add_blockMethod · 0.80

Calls 1

def_entityMethod · 0.80

Tested by

no test coverage detected