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

Method available

winch/codegen/src/regset.rs:127–130  ·  view source on GitHub ↗
(&self, class: RegClass)

Source from the content-addressed store, hash-verified

125 }
126
127 fn available(&self, class: RegClass) -> bool {
128 let bitset = &self[class];
129 bitset.allocatable != 0
130 }
131
132 fn allocate(&mut self, class: RegClass, index: u64) {
133 if !self.is_non_allocatable(class, index) {

Callers 1

reg_for_classMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected