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() |
int |
getTargetPC() |
int |
hashCode() |
boolean |
isGlobalEnsureBlockLabel() |
void |
setTargetPC(int i) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getOperandType, getSimplifiedOperand, getValue, hasKnownValue, retrieve
public 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 void addUsedVariables(List<Variable> l)
Operand
addUsedVariables
in class Operand
public boolean canCopyPropagate()
Operand
canCopyPropagate
in class Operand
public boolean isGlobalEnsureBlockLabel()
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining
in class Operand
public void setTargetPC(int i)
public int getTargetPC()
public void encode(IRWriterEncoder e)
public static Label decode(IRReaderDecoder d)
Copyright © 2001-2015 JRuby. All Rights Reserved.