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

Method collect_values

cranelift/interpreter/src/state.rs:40–43  ·  view source on GitHub ↗

Collect a list of values `V` by their [value references](cranelift_codegen::ir::Value).

(&self, names: &[Value])

Source from the content-addressed store, hash-verified

38
39 /// Collect a list of values `V` by their [value references](cranelift_codegen::ir::Value).
40 fn collect_values(&self, names: &[Value]) -> SmallVec<[DataValue; 1]> {
41 let frame = self.current_frame();
42 names.into_iter().map(|n| frame.get(*n).clone()).collect()
43 }
44
45 /// Computes the stack address for this stack slot, including an offset.
46 fn stack_address(

Callers 1

stepFunction · 0.80

Implementers 1

interpreter.rscranelift/interpreter/src/interpreter.

Calls 6

current_frameMethod · 0.80
collectMethod · 0.80
mapMethod · 0.45
into_iterMethod · 0.45
cloneMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected