MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / push_block

Method push_block

crates/csharp/src/function.rs:2018–2028  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2016 }
2017
2018 fn push_block(&mut self) {
2019 self.block_storage.push(BlockStorage {
2020 body: mem::take(&mut self.src),
2021 element: self.locals.tmp("element"),
2022 base: self.locals.tmp("basePtr"),
2023 map_key: self.locals.tmp("mapKey"),
2024 map_value: self.locals.tmp("mapValue"),
2025 });
2026
2027 self.is_block = true;
2028 }
2029
2030 fn finish_block(&mut self, operands: &mut Vec<String>) {
2031 let BlockStorage {

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
tmpMethod · 0.45

Tested by

no test coverage detected