MCPcopy Create free account
hub / github.com/arcjet/gravity / finish_block

Method finish_block

cmd/gravity/src/codegen/func.rs:1500–1504  ·  view source on GitHub ↗
(&mut self, operands: &mut Vec<Self::Operand>)

Source from the content-addressed store, hash-verified

1498 }
1499
1500 fn finish_block(&mut self, operands: &mut Vec<Self::Operand>) {
1501 let to_restore = self.block_storage.pop().expect("should have body");
1502 let src = mem::replace(&mut self.body, to_restore);
1503 self.blocks.push((src, mem::take(operands)));
1504 }
1505
1506 fn sizes(&self) -> &SizeAlign {
1507 self.sizes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected