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(java.lang.String exceptionType) |
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(InlinerInfo ii) |
java.lang.RuntimeException |
getException(Ruby runtime) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
fetchCompileTimeArrayElement, getSimplifiedOperand, getValue, hasKnownValue, retrieve
public 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
public void addUsedVariables(java.util.List<Variable> l)
Operand
addUsedVariables
in class Operand
public Operand cloneForInlining(InlinerInfo ii)
cloneForInlining
in class Operand
public boolean canCopyPropagate()
Operand
canCopyPropagate
in class Operand
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.RuntimeException getException(Ruby runtime)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.