public class IRException extends Operand
| Modifier and Type | Field and Description |
|---|---|
static IRException |
BREAK_LocalJumpError |
static IRException |
NEXT_LocalJumpError |
static IRException |
REDO_LocalJumpError |
static IRException |
RETRY_LocalJumpError |
static IRException |
RETURN_LocalJumpError |
EMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
IRException(RubyLocalJumpError.Reason type) |
| 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.
|
Operand |
cloneForInlining(CloneInfo ii) |
static IRException |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
java.lang.RuntimeException |
getException(Ruby runtime) |
static IRException |
getExceptionFromOrdinal(int ordinal) |
OperandType |
getOperandType() |
RubyLocalJumpError.Reason |
getType() |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
getSimplifiedOperand, getValue, hasKnownValue, retrievepublic static final IRException RETRY_LocalJumpError
public static final IRException NEXT_LocalJumpError
public static final IRException BREAK_LocalJumpError
public static final IRException RETURN_LocalJumpError
public static final IRException REDO_LocalJumpError
protected IRException(RubyLocalJumpError.Reason type)
public OperandType getOperandType()
getOperandType in class Operandpublic RubyLocalJumpError.Reason getType()
public static IRException getExceptionFromOrdinal(int ordinal)
public void addUsedVariables(java.util.List<Variable> l)
OperandaddUsedVariables in class Operandpublic Operand cloneForInlining(CloneInfo ii)
cloneForInlining in class Operandpublic boolean canCopyPropagate()
OperandcanCopyPropagate in class Operandpublic java.lang.RuntimeException getException(Ruby runtime)
public void encode(IRWriterEncoder e)
public static IRException decode(IRReaderDecoder d)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2018 JRuby. All Rights Reserved.