class RegisterManager
extends java.lang.Object
Constructor and Description |
---|
RegisterManager(int initialRegister)
Constructs a new register manager.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getRegister()
Returns the current register (without incrementing it).
|
(package private) int |
nextRegister()
Returns the current register and then increments the counter.
|
Copyright © 2009-2019 Aarhus University