public enum InstructionFlag extends java.lang.Enum<InstructionFlag>
| Enum Constant and Description |
|---|
END_POINT_UNREACHABLE
The
Instruction performs unconditional control flow, so that its endpoint is unreachable. |
MAY_BRANCH
The
Instruction may exit with a branch or leave. |
MAY_THROW
The
Instruction may throw an exception. |
| Modifier and Type | Field and Description |
|---|---|
static @Nullable EnumBitSet<InstructionFlag> |
INVALID_FLAGS
Absolute value specifying the current flags are invalid and must be re validated.
|
static EnumBitSet<InstructionFlag> |
NONE
No flags exist.
|
| Modifier and Type | Method and Description |
|---|---|
EnumBitSet<InstructionFlag> |
toSet() |
static InstructionFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstructionFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstructionFlag MAY_THROW
Instruction may throw an exception.public static final InstructionFlag MAY_BRANCH
Instruction may exit with a branch or leave.public static final InstructionFlag END_POINT_UNREACHABLE
Instruction performs unconditional control flow, so that its endpoint is unreachable.
If END_POINT_UNREACHABLE is set, either MAY_THROW or MAY_BRANCH
should also be set (unless the instruction represents an infinite loop).
@Nullable public static final @Nullable EnumBitSet<InstructionFlag> INVALID_FLAGS
public static final EnumBitSet<InstructionFlag> NONE
public static InstructionFlag[] values()
for (InstructionFlag c : InstructionFlag.values()) System.out.println(c);
public static InstructionFlag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic EnumBitSet<InstructionFlag> toSet()