Returns true if the specified register is allocatable.
(&self, reg: Reg)
| 48 | |
| 49 | /// Returns true if the specified register is allocatable. |
| 50 | pub fn reg_available(&self, reg: Reg) -> bool { |
| 51 | self.regset.named_reg_available(reg) |
| 52 | } |
| 53 | |
| 54 | /// Request a specific register, spilling if not available. |
| 55 | pub fn reg<F>(&mut self, named: Reg, mut spill: F) -> Result<Reg> |
nothing calls this directly
no test coverage detected