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

Method flatten

language/move-prover/bytecode/src/stackless_bytecode.rs:289–295  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

287
288impl BorrowEdge {
289 pub fn flatten(&self) -> Vec<&BorrowEdge> {
290 if let BorrowEdge::Hyper(edges) = self {
291 edges.iter().collect_vec()
292 } else {
293 vec![self]
294 }
295 }
296
297 pub fn instantiate(&self, params: &[Type]) -> Self {
298 match self {

Callers 15

build_mappingMethod · 0.80
get_summaryMethod · 0.80
normalize_all_scriptsMethod · 0.80
get_module_idMethod · 0.80
plot_benchmarks_to_fileFunction · 0.80
all_addressesMethod · 0.80
get_modify_idsMethod · 0.80
processMethod · 0.80
dump_resultMethod · 0.80
initializeMethod · 0.80
translate_invariantsMethod · 0.80
getMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by 3

collect_enabled_testsFunction · 0.64
create_struct_valueFunction · 0.64
aborts_code_conditionMethod · 0.64