protected static final class GenericStackManager.ScratchRegister extends Object
Modifier and Type | Field and Description |
---|---|
Register |
currentContents
The current contents of scratch
|
private boolean |
dirty
Is this physical register currently dirty?
|
Register |
scratch
The physical register used as scratch.
|
private boolean |
spilledIt
Did we spill a value in order to free up this scratch register?
|
Constructor and Description |
---|
ScratchRegister(Register scratch,
Register currentContents) |
Modifier and Type | Method and Description |
---|---|
boolean |
hadToSpill() |
boolean |
isDirty() |
void |
setDirty(boolean b) |
void |
setHadToSpill(boolean b) |
String |
toString() |
public Register currentContents
private boolean dirty
private boolean spilledIt
public ScratchRegister(Register scratch, Register currentContents)
public boolean isDirty()
public void setDirty(boolean b)
public boolean hadToSpill()
public void setHadToSpill(boolean b)