Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ empty
Function
empty
cranelift/codegen/src/ir/constant.rs:278–281 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
276
277
#[test]
278
fn empty() {
279
let sut = ConstantPool::new();
280
assert_eq!(sut.len(), 0);
281
}
282
283
#[test]
284
fn insert() {
Callers
15
make_inst_results
Method · 0.70
add_call_site
Method · 0.50
empty
Method · 0.50
sysv_clobbers
Function · 0.50
tail_clobbers
Function · 0.50
all_clobbers
Function · 0.50
abi.rs
File · 0.50
sysv_create_machine_env
Function · 0.50
tail_create_machine_env
Function · 0.50
test_s390x_binemit
Function · 0.50
gen_probestack
Method · 0.50
abi.rs
File · 0.50
Calls
1
new
Function · 0.50
Tested by
no test coverage detected