org.jruby.compiler.ir
Enum Operation
java.lang.Object
java.lang.Enum<Operation>
org.jruby.compiler.ir.Operation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Operation>
public enum Operation
- extends java.lang.Enum<Operation>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NOP
public static final Operation NOP
COPY
public static final Operation COPY
TYPE_CVT
public static final Operation TYPE_CVT
BOX_VAL
public static final Operation BOX_VAL
UNBOX_OBJ
public static final Operation UNBOX_OBJ
ADD
public static final Operation ADD
SUB
public static final Operation SUB
MUL
public static final Operation MUL
DIV
public static final Operation DIV
OR
public static final Operation OR
AND
public static final Operation AND
XOR
public static final Operation XOR
NOT
public static final Operation NOT
LSHIFT
public static final Operation LSHIFT
RSHIFT
public static final Operation RSHIFT
GET_METHOD
public static final Operation GET_METHOD
RETURN
public static final Operation RETURN
CLOSURE_RETURN
public static final Operation CLOSURE_RETURN
RECV_ARG
public static final Operation RECV_ARG
RECV_CLOSURE
public static final Operation RECV_CLOSURE
RECV_OPT_ARG
public static final Operation RECV_OPT_ARG
RECV_CLOSURE_ARG
public static final Operation RECV_CLOSURE_ARG
CALL
public static final Operation CALL
JRUBY_IMPL
public static final Operation JRUBY_IMPL
RUBY_INTERNALS
public static final Operation RUBY_INTERNALS
ATTR_ASSIGN
public static final Operation ATTR_ASSIGN
DECLARE_TYPE
public static final Operation DECLARE_TYPE
YIELD
public static final Operation YIELD
EVAL_OP
public static final Operation EVAL_OP
CLASS_EVAL
public static final Operation CLASS_EVAL
DEF_INST_METH
public static final Operation DEF_INST_METH
DEF_CLASS_METH
public static final Operation DEF_CLASS_METH
THROW
public static final Operation THROW
RESCUE
public static final Operation RESCUE
RETRY
public static final Operation RETRY
GET_CONST
public static final Operation GET_CONST
GET_GLOBAL_VAR
public static final Operation GET_GLOBAL_VAR
GET_FIELD
public static final Operation GET_FIELD
GET_CVAR
public static final Operation GET_CVAR
GET_ARRAY
public static final Operation GET_ARRAY
PUT_CONST
public static final Operation PUT_CONST
PUT_GLOBAL_VAR
public static final Operation PUT_GLOBAL_VAR
PUT_FIELD
public static final Operation PUT_FIELD
PUT_ARRAY
public static final Operation PUT_ARRAY
PUT_CVAR
public static final Operation PUT_CVAR
BREAK
public static final Operation BREAK
JUMP
public static final Operation JUMP
BEQ
public static final Operation BEQ
BNE
public static final Operation BNE
BLE
public static final Operation BLE
BLT
public static final Operation BLT
BGE
public static final Operation BGE
BGT
public static final Operation BGT
LABEL
public static final Operation LABEL
THREAD_POLL
public static final Operation THREAD_POLL
IS_TRUE
public static final Operation IS_TRUE
EQQ
public static final Operation EQQ
CASE
public static final Operation CASE
ASSERT_METHOD_VERSION
public static final Operation ASSERT_METHOD_VERSION
values
public static Operation[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Operation c : Operation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Operation valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
isALU
public boolean isALU()
isBranch
public boolean isBranch()
isLoad
public boolean isLoad()
isStore
public boolean isStore()
isCall
public boolean isCall()
isEval
public boolean isEval()
isReturn
public boolean isReturn()
startsBasicBlock
public boolean startsBasicBlock()
endsBasicBlock
public boolean endsBasicBlock()
hasSideEffects
public boolean hasSideEffects()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.