public abstract class CompositeValue
extends Value
| Modifier and Type | Class and Description |
|---|---|
static interface |
CompositeValue.Component |
| Constructor and Description |
|---|
CompositeValue(<any> kind) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
abstract CompositeValue |
forEachComponent(LIRInstruction inst,
LIRInstruction.OperandMode mode,
InstructionValueProcedure proc)
|
int |
hashCode() |
String |
toString() |
protected abstract void |
visitEachComponent(LIRInstruction inst,
LIRInstruction.OperandMode mode,
InstructionValueConsumer proc) |
protected Value[] |
visitValueArray(LIRInstruction inst,
Value[] values,
LIRInstruction.OperandMode mode,
InstructionValueProcedure proc,
EnumSet<LIRInstruction.OperandFlag> flags)
A helper method to visit
Value[] ensuring that a copy of the array is made if it's
needed. |
public abstract CompositeValue forEachComponent(LIRInstruction inst, LIRInstruction.OperandMode mode, InstructionValueProcedure proc)
proc on each Value element of this CompositeValue. If
proc replaces any value then a new CompositeValue should be returned.inst - mode - proc - protected Value[] visitValueArray(LIRInstruction inst, Value[] values, LIRInstruction.OperandMode mode, InstructionValueProcedure proc, EnumSet<LIRInstruction.OperandFlag> flags)
Value[] ensuring that a copy of the array is made if it's
needed.inst - values - mode - proc - flags - values array or a copy if values changedprotected abstract void visitEachComponent(LIRInstruction inst, LIRInstruction.OperandMode mode, InstructionValueConsumer proc)
public String toString()
public int hashCode()
public boolean equals(Object obj)