Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ Switch
Class
Switch
cranelift/frontend/src/switch.rs:42–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
/// ```
41
#[derive(Debug, Default)]
42
pub struct Switch {
43
cases: HashMap<EntryIndex, Block>,
44
}
45
46
impl Switch {
47
/// Create a new empty switch
Callers
3
generate_blocks
Method · 0.85
add_annotation_constraints
Function · 0.85
spec_op_to_expr
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected