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

Method map_value

cranelift/codegen/src/inline.rs:918–923  ·  view source on GitHub ↗
(&mut self, value: ir::Value)

Source from the content-addressed store, hash-verified

916
917impl<'a> ir::instructions::InstructionMapper for InliningInstRemapper<'a> {
918 fn map_value(&mut self, value: ir::Value) -> ir::Value {
919 self.allocs.get_inlined_value(self.callee, value).expect(
920 "defs come before uses; we should have already inlined all values \
921 used by an instruction",
922 )
923 }
924
925 fn map_value_list(&mut self, value_list: ir::ValueList) -> ir::ValueList {
926 let mut inlined_list = ir::ValueList::new();

Callers 3

map_value_listMethod · 0.45
map_exception_tableMethod · 0.45
map_block_callMethod · 0.45

Calls 2

get_inlined_valueMethod · 0.80
expectMethod · 0.45

Tested by

no test coverage detected