Simplified code
This commit is contained in:
8
src/build/register/UseRegister.go
Normal file
8
src/build/register/UseRegister.go
Normal file
@ -0,0 +1,8 @@
|
||||
package register
|
||||
|
||||
import "git.akyoto.dev/cli/q/src/build/cpu"
|
||||
|
||||
// Use marks a register to be currently in use.
|
||||
func (f *Machine) UseRegister(register cpu.Register) {
|
||||
f.CurrentScope().Use(register)
|
||||
}
|
Reference in New Issue
Block a user