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(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) |
RuntimeException |
getException(Ruby runtime) |
static IRException |
getExceptionFromOrdinal(int ordinal) |
RubyLocalJumpError.Reason |
getType() |
String |
toString() |
void |
visit(IRVisitor visitor) |
getOperandType, 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 RubyLocalJumpError.Reason getType()
public static IRException getExceptionFromOrdinal(int ordinal)
public void addUsedVariables(List<Variable> l)
OperandaddUsedVariables in class Operandpublic Operand cloneForInlining(CloneInfo ii)
cloneForInlining in class Operandpublic boolean canCopyPropagate()
OperandcanCopyPropagate in class Operandpublic RuntimeException getException(Ruby runtime)
Copyright © 2001-2015 JRuby. All Rights Reserved.