Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ block_count
Function
block_count
cranelift/src/bugpoint.rs:778–780 ·
view source on GitHub ↗
(func: &Function)
Source
from the content-addressed store, hash-verified
776
}
777
778
fn block_count(func: &Function) -> usize {
779
func.layout.blocks().count()
780
}
781
782
fn inst_count(func: &Function) -> usize {
783
func.layout
Callers
1
run
Function · 0.85
Calls
1
blocks
Method · 0.80
Tested by
no test coverage detected