public class Label extends Operand
| Modifier and Type | Field and Description |
|---|---|
int |
id |
String |
prefix |
static Label |
UNRESCUED_REGION_LABEL |
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
void |
addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list -- force every operand
to implement this because a missing implementation can cause bad failures.
|
boolean |
canCopyPropagate()
Can we replace every use of a variable 'v' that contains the value of this operand
with the operand itself? This takes importance when there are at least two uses
of 'v' within this scope.
|
Label |
clone() |
Operand |
cloneForInlining(CloneInfo ii) |
static Label |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
boolean |
equals(Object o) |
static Label |
getGlobalEnsureBlockLabel() |
OperandType |
getOperandType() |
int |
getTargetPC() |
int |
hashCode() |
boolean |
isGlobalEnsureBlockLabel() |
void |
setTargetPC(int i) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getSimplifiedOperand, getValue, hasKnownValue, retrievepublic static final Label UNRESCUED_REGION_LABEL
public final String prefix
public final int id
public Label(String prefix, int id)
public static Label getGlobalEnsureBlockLabel()
public OperandType getOperandType()
getOperandType in class Operandpublic void addUsedVariables(List<Variable> l)
OperandaddUsedVariables in class Operandpublic boolean canCopyPropagate()
OperandcanCopyPropagate in class Operandpublic boolean isGlobalEnsureBlockLabel()
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining in class Operandpublic void setTargetPC(int i)
public int getTargetPC()
public void encode(IRWriterEncoder e)
public static Label decode(IRReaderDecoder d)
Copyright © 2001-2016 JRuby. All Rights Reserved.