final class LiveSetElement extends Object
Modifier and Type | Field and Description |
---|---|
private LiveSetElement |
next
The next field
|
private RegisterOperand |
regOp
The register operand, i.e., the data
|
Constructor and Description |
---|
LiveSetElement(RegisterOperand register)
Construct an
LiveSetElement . |
Modifier and Type | Method and Description |
---|---|
LiveSetElement |
getNext()
Returns the next element on this list
|
Register |
getRegister()
Returns the register associated with this element
|
RegisterOperand |
getRegisterOperand()
Returns the register operand associated with this element
|
TypeReference |
getRegisterType()
Returns the register type associated with this element
|
void |
setNext(LiveSetElement newNext)
Sets the next element field
|
void |
setRegisterOperand(RegisterOperand newRegOp)
Changes the register operand.
|
String |
toString() |
private RegisterOperand regOp
private LiveSetElement next
LiveSetElement(RegisterOperand register)
LiveSetElement
.register
- An RegisterOperand
public RegisterOperand getRegisterOperand()
public void setRegisterOperand(RegisterOperand newRegOp)
newRegOp
- the register operand that replaces the old onepublic Register getRegister()
public TypeReference getRegisterType()
public LiveSetElement getNext()
public void setNext(LiveSetElement newNext)
newNext
- the next element field