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

Function label

cranelift/codegen/src/machinst/buffer.rs:2561–2563  ·  view source on GitHub ↗
(n: u32)

Source from the content-addressed store, hash-verified

2559 use crate::settings;
2560
2561 fn label(n: u32) -> MachLabel {
2562 MachLabel::from_block(BlockIndex::new(n as usize))
2563 }
2564 fn target(n: u32) -> BranchTarget {
2565 BranchTarget::Label(label(n))
2566 }

Callers 12

targetFunction · 0.85
test_elide_jump_to_nextFunction · 0.85
test_flip_condFunction · 0.85
test_islandFunction · 0.85
test_island_backwardFunction · 0.85
test_multiple_redirectFunction · 0.85
test_handle_branch_cycleFunction · 0.85
metadata_recordsFunction · 0.85

Calls 1

newFunction · 0.50

Tested by 11

test_elide_jump_to_nextFunction · 0.68
test_flip_condFunction · 0.68
test_islandFunction · 0.68
test_island_backwardFunction · 0.68
test_multiple_redirectFunction · 0.68
test_handle_branch_cycleFunction · 0.68
metadata_recordsFunction · 0.68