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

Method get_immediate_data

cranelift/codegen/src/machinst/lower.rs:1694–1696  ·  view source on GitHub ↗

Retrieve immediate data given a handle.

(&self, imm: Immediate)

Source from the content-addressed store, hash-verified

1692
1693 /// Retrieve immediate data given a handle.
1694 pub fn get_immediate_data(&self, imm: Immediate) -> &ConstantData {
1695 self.f.dfg.immediates.get(imm).unwrap()
1696 }
1697
1698 /// Retrieve constant data given a handle.
1699 pub fn get_constant_data(&self, constant_handle: Constant) -> &ConstantData {

Calls 2

unwrapMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected