|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.regalloc.GenericStackManager.ScratchRegister
protected static final class GenericStackManager.ScratchRegister
Class to represent a physical register currently allocated as a scratch register.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
GenericStackManager.ScratchRegister(Register scratch,
Register currentContents)
|
|
| Method Summary | |
|---|---|
boolean |
hadToSpill()
|
boolean |
isDirty()
|
void |
setDirty(boolean b)
|
void |
setHadToSpill(boolean b)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Register scratch
public Register currentContents
private boolean dirty
private boolean spilledIt
| Constructor Detail |
|---|
public GenericStackManager.ScratchRegister(Register scratch,
Register currentContents)
| Method Detail |
|---|
public boolean isDirty()
public void setDirty(boolean b)
public boolean hadToSpill()
public void setHadToSpill(boolean b)
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||