public class Label extends Operand
| Modifier and Type | Field and Description |
|---|---|
int |
id |
java.lang.String |
prefix |
static Label |
UNRESCUED_REGION_LABEL |
EMPTY_ARRAY| Constructor and Description |
|---|
Label(java.lang.String prefix,
int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUsedVariables(java.util.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(java.lang.Object o) |
static Label |
getGlobalEnsureBlockLabel() |
OperandType |
getOperandType() |
int |
getTargetPC() |
int |
hashCode() |
boolean |
isGlobalEnsureBlockLabel() |
void |
setTargetPC(int i) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
getSimplifiedOperand, getValue, hasKnownValue, retrievepublic static final Label UNRESCUED_REGION_LABEL
public final java.lang.String prefix
public final int id
public static Label getGlobalEnsureBlockLabel()
public OperandType getOperandType()
getOperandType in class Operandpublic java.lang.String toString()
toString in class java.lang.Objectpublic void addUsedVariables(java.util.List<Variable> l)
OperandaddUsedVariables in class Operandpublic boolean canCopyPropagate()
OperandcanCopyPropagate in class Operandpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean isGlobalEnsureBlockLabel()
public Label clone()
clone in class java.lang.Objectpublic 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-2018 JRuby. All Rights Reserved.