(&self, class: RegClass, index: u64)
| 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)] |
no outgoing calls
no test coverage detected