Enum Class TruffleCompilerRuntime.InlineKind
java.lang.Object
java.lang.Enum<TruffleCompilerRuntime.InlineKind>
com.oracle.truffle.compiler.TruffleCompilerRuntime.InlineKind
- All Implemented Interfaces:
Serializable,Comparable<TruffleCompilerRuntime.InlineKind>,Constable
- Enclosing interface:
TruffleCompilerRuntime
public static enum TruffleCompilerRuntime.InlineKind
extends Enum<TruffleCompilerRuntime.InlineKind>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDenotes a call site must not be inlined and the execution should be transferred to interpreter in case of an exception.Denotes a call site must not be inlined and can be implemented by a node that speculates the call will not throw an exception.Denotes a call site that must not be inlined and should be implemented by a node that does not speculate on the call not raising an exception.Denotes a call site must not be inlined and the execution should be speculatively transferred to interpreter in case of an exception, unless the speculation has failed.Denotes a call site that must can be inlined. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the enum constant of this class with the specified name.static TruffleCompilerRuntime.InlineKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INLINE
Denotes a call site that must can be inlined. -
DO_NOT_INLINE_WITH_EXCEPTION
Denotes a call site that must not be inlined and should be implemented by a node that does not speculate on the call not raising an exception. -
DO_NOT_INLINE_NO_EXCEPTION
Denotes a call site must not be inlined and can be implemented by a node that speculates the call will not throw an exception. -
DO_NOT_INLINE_DEOPTIMIZE_ON_EXCEPTION
Denotes a call site must not be inlined and the execution should be transferred to interpreter in case of an exception. -
DO_NOT_INLINE_WITH_SPECULATIVE_EXCEPTION
Denotes a call site must not be inlined and the execution should be speculatively transferred to interpreter in case of an exception, unless the speculation has failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
allowsInlining
public boolean allowsInlining()
-