Set marks the given register as used.
(reg cpu.Register)
| 7 | |
| 8 | // Set marks the given register as used. |
| 9 | func (b *bitSet) Set(reg cpu.Register) { |
| 10 | *b |= 1 << (reg & 63) |
| 11 | } |
| 12 | |
| 13 | // Has returns true if the given register is used. |
| 14 | func (b *bitSet) Has(reg cpu.Register) bool { |
no outgoing calls
no test coverage detected