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) |
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, 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 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()
Copyright © 2001-2015 JRuby. All Rights Reserved.