public static enum ILOCOperand.Type extends Enum<ILOCOperand.Type>
Enum Constant and Description |
---|
BASE_REG |
CALL_LABEL |
INT_CONST |
INVALID |
JUMP_LABEL |
RETURN_REG |
STACK_REG |
STR_CONST |
VIRTUAL_REG |
Modifier and Type | Method and Description |
---|---|
static ILOCOperand.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILOCOperand.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILOCOperand.Type INVALID
public static final ILOCOperand.Type STACK_REG
public static final ILOCOperand.Type BASE_REG
public static final ILOCOperand.Type RETURN_REG
public static final ILOCOperand.Type VIRTUAL_REG
public static final ILOCOperand.Type JUMP_LABEL
public static final ILOCOperand.Type CALL_LABEL
public static final ILOCOperand.Type INT_CONST
public static final ILOCOperand.Type STR_CONST
public static ILOCOperand.Type[] values()
for (ILOCOperand.Type c : ILOCOperand.Type.values()) System.out.println(c);
public static ILOCOperand.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.