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>
  • Enum Constant Details

    • INLINE

      public static final TruffleCompilerRuntime.InlineKind INLINE
      Denotes a call site that must can be inlined.
    • DO_NOT_INLINE_WITH_EXCEPTION

      public static final TruffleCompilerRuntime.InlineKind 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

      public static final TruffleCompilerRuntime.InlineKind 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

      public static final TruffleCompilerRuntime.InlineKind 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

      public static final TruffleCompilerRuntime.InlineKind 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

      public static TruffleCompilerRuntime.InlineKind[] 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

      public static TruffleCompilerRuntime.InlineKind valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • allowsInlining

      public boolean allowsInlining()