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

Method get

cranelift/frontend/src/frontend/safepoints.rs:90–93  ·  view source on GitHub ↗
(&self, size: SlotSize)

Source from the content-addressed store, hash-verified

88 }
89
90 fn get(&self, size: SlotSize) -> &T {
91 let index = size as u8 as usize;
92 &self.0[index]
93 }
94
95 fn get_mut(&mut self, size: SlotSize) -> &mut T {
96 let index = size as u8 as usize;

Callers 9

buildMethod · 0.45
try_use_varMethod · 0.45
try_def_varMethod · 0.45
signatureMethod · 0.45
seal_one_blockMethod · 0.45
indexMethod · 0.45
rewrite_defMethod · 0.45
rewrite_safepointMethod · 0.45

Calls 1

copiedMethod · 0.80

Tested by

no test coverage detected