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

Method check_dss

cranelift/reader/src/parser.rs:288–294  ·  view source on GitHub ↗

Resolve a reference to a dynamic stack slot.

(&self, dss: DynamicStackSlot, loc: Location)

Source from the content-addressed store, hash-verified

286
287 // Resolve a reference to a dynamic stack slot.
288 fn check_dss(&self, dss: DynamicStackSlot, loc: Location) -> ParseResult<()> {
289 if !self.map.contains_dss(dss) {
290 err!(loc, "undefined dynamic stack slot {}", dss)
291 } else {
292 Ok(())
293 }
294 }
295
296 // Allocate a new dynamic type.
297 fn add_dt(&mut self, dt: DynamicType, data: DynamicTypeData, loc: Location) -> ParseResult<()> {

Callers 1

parse_inst_operandsMethod · 0.80

Calls 2

OkFunction · 0.85
contains_dssMethod · 0.80

Tested by

no test coverage detected