|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.ir.RegSpillListElement
public class RegSpillListElement
A class to hold each element in the GCIRMap
| Field Summary | |
|---|---|
private Register |
symbolicReg
this should be a symbolic register |
private int |
value
this could be either a spill or a real reg number |
| Constructor Summary | |
|---|---|
RegSpillListElement(Register symbolicReg)
Constructor |
|
| Method Summary | |
|---|---|
int |
getRealRegNumber()
returns the real (physical) register associated with this object |
int |
getSpill()
returns the spill value associated with this object |
Register |
getSymbolicReg()
returns the symbolic register associated with this object |
boolean |
isSpill()
Is this a spill? |
void |
setRealReg(Register reg)
Sets the real (i.e., physical) register component associated with this object |
void |
setSpill(int value)
Sets the spill component associated with this object |
String |
toString()
return a string version of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final Register symbolicReg
private int value
| Constructor Detail |
|---|
public RegSpillListElement(Register symbolicReg)
symbolicReg - the symbolic register holding the reference| Method Detail |
|---|
public final void setSpill(int value)
value - the spill valuepublic final void setRealReg(Register reg)
reg - the real (physical) registerpublic final boolean isSpill()
public final Register getSymbolicReg()
public final int getRealRegNumber()
public final int getSpill()
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||