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

Method check_ss

cranelift/reader/src/parser.rs:260–266  ·  view source on GitHub ↗

Resolve a reference to a stack slot.

(&self, ss: StackSlot, loc: Location)

Source from the content-addressed store, hash-verified

258
259 // Resolve a reference to a stack slot.
260 fn check_ss(&self, ss: StackSlot, loc: Location) -> ParseResult<()> {
261 if !self.map.contains_ss(ss) {
262 err!(loc, "undefined stack slot {}", ss)
263 } else {
264 Ok(())
265 }
266 }
267
268 // Allocate a new stack slot.
269 fn add_dss(

Callers 1

parse_inst_operandsMethod · 0.80

Calls 2

OkFunction · 0.85
contains_ssMethod · 0.80

Tested by

no test coverage detected