MCPcopy 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_resultsMethod · 0.70
add_call_siteMethod · 0.50
emptyMethod · 0.50
sysv_clobbersFunction · 0.50
tail_clobbersFunction · 0.50
all_clobbersFunction · 0.50
abi.rsFile · 0.50
sysv_create_machine_envFunction · 0.50
tail_create_machine_envFunction · 0.50
test_s390x_binemitFunction · 0.50
gen_probestackMethod · 0.50
abi.rsFile · 0.50

Calls 1

newFunction · 0.50

Tested by

no test coverage detected