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

Method block_starting_state

cranelift/codegen/src/alias_analysis.rs:283–288  ·  view source on GitHub ↗

Get the starting state for a block.

(&self, block: Block)

Source from the content-addressed store, hash-verified

281
282 /// Get the starting state for a block.
283 pub fn block_starting_state(&self, block: Block) -> LastStores {
284 self.block_input
285 .get(&block)
286 .cloned()
287 .unwrap_or_else(|| LastStores::default())
288 }
289
290 /// Process one instruction. Meant to be invoked in program order
291 /// within a block, and ideally in RPO or at least some domtree

Callers 2

Calls 1

getMethod · 0.45

Tested by

no test coverage detected