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

Method is_non_allocatable

winch/codegen/src/regset.rs:138–142  ·  view source on GitHub ↗
(&self, class: RegClass, index: u64)

Source from the content-addressed store, hash-verified

136 }
137
138 fn is_non_allocatable(&self, class: RegClass, index: u64) -> bool {
139 let bitset = &self[class];
140 let non_allocatable = bitset.non_allocatable;
141 non_allocatable != 0 && !non_allocatable & (1 << index) == 0
142 }
143}
144
145#[cfg(test)]

Callers 3

freeMethod · 0.80
named_reg_availableMethod · 0.80
allocateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected