MCPcopy Create free account
hub / github.com/diem/move / code

Method code

language/move-bytecode-verifier/src/control_flow.rs:53–58  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

51
52impl<'a> ControlFlowVerifier<'a> {
53 fn code(&self) -> impl Iterator<Item = (CodeOffset, &'a Bytecode)> {
54 self.code
55 .iter()
56 .enumerate()
57 .map(|(idx, instr)| (idx.try_into().unwrap(), instr))
58 }
59
60 fn labeled_code<'b: 'a>(
61 &self,

Callers 7

verify_script_implMethod · 0.45
verifyMethod · 0.45
execute_blockMethod · 0.45
labeled_codeMethod · 0.45
instruction_labelsFunction · 0.45
verifyFunction · 0.45

Calls 3

mapMethod · 0.45
iterMethod · 0.45
try_intoMethod · 0.45

Tested by

no test coverage detected