Class AOTSupport

java.lang.Object
com.oracle.truffle.api.dsl.AOTSupport

public final class AOTSupport extends Object
Helper class to prepare AOT enabled nodes for AOT in RootNode.prepareForAOT().

See also the usage tutorial on the website.

Since:
21.1
See Also:
  • Method Details

    • prepareForAOT

      public static void prepareForAOT(RootNode root)
      Recursively prepares an AST for AOT compilation. If an AST is already prepared for AOT then this method has no effect. The AST lock will be held during this operation.
      Since:
      21.1
      See Also: