Get a new temp.
(&mut self, ty: Type)
| 1657 | impl<'func, I: VCodeInst> Lower<'func, I> { |
| 1658 | /// Get a new temp. |
| 1659 | pub fn alloc_tmp(&mut self, ty: Type) -> ValueRegs<Writable<Reg>> { |
| 1660 | writable_value_regs(self.vregs.alloc_with_deferred_error(ty)) |
| 1661 | } |
| 1662 | |
| 1663 | /// Emit a machine instruction. |
| 1664 | pub fn emit(&mut self, mach_inst: I) { |
no test coverage detected