abstract class com.oracle.truffle.polyglot.HostToGuestRootNode extends com.oracle.truffle.api.nodes.RootNode
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: com.oracle.truffle.polyglot.HostToGuestRootNode
  super_class: com.oracle.truffle.api.nodes.RootNode
{
  protected static final int ARGUMENT_OFFSET;
    descriptor: I
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private boolean seenEnter;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$CompilationFinal()

  private boolean seenNonEnter;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$CompilationFinal()

  private volatile com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile profile;
    descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$CompilationFinal()

  private final com.oracle.truffle.polyglot.PolyglotEngineImpl engine;
    descriptor: Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.oracle.truffle.api.profiles.BranchProfile error;
    descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 53
            ldc Lcom/oracle/truffle/polyglot/HostToGuestRootNode;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
         3: .line 57
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
         0: .line 68
            aload 0 /* this */
            aconst_null
            invokespecial com.oracle.truffle.polyglot.HostToGuestRootNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
         1: .line 69
            return
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;

  void <init>(com.oracle.truffle.polyglot.PolyglotLanguageContext);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
        start local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
         0: .line 72
            aload 0 /* this */
            aload 1 /* languageContext */
            ifnull 1
            aload 1 /* languageContext */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.getLanguageInstance:()Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
            getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.spi:Lcom/oracle/truffle/api/TruffleLanguage;
            goto 2
      StackMap locals:
      StackMap stack: uninitialized-this
         1: aconst_null
      StackMap locals: uninitialized-this com.oracle.truffle.polyglot.PolyglotLanguageContext
      StackMap stack: uninitialized-this com.oracle.truffle.api.TruffleLanguage
         2: invokespecial com.oracle.truffle.api.nodes.RootNode.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;)V
         3: .line 65
            aload 0 /* this */
            invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
            putfield com.oracle.truffle.polyglot.HostToGuestRootNode.error:Lcom/oracle/truffle/api/profiles/BranchProfile;
         4: .line 73
            aload 0 /* this */
            getstatic com.oracle.truffle.polyglot.EngineAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.impl.Accessor$NodeSupport.getPolyglotEngine:(Lcom/oracle/truffle/api/nodes/RootNode;)Ljava/lang/Object;
            checkcast com.oracle.truffle.polyglot.PolyglotEngineImpl
            putfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
         5: .line 74
            getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
            ifne 6
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            ifnonnull 6
            new java.lang.AssertionError
            dup
            ldc "all host to guest root nodes need to be initialized when entered"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         6: .line 75
      StackMap locals: com.oracle.truffle.polyglot.HostToGuestRootNode com.oracle.truffle.polyglot.PolyglotLanguageContext
      StackMap stack:
            getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
            ifne 7
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsEnter:()Z
            ifne 7
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsExceptionWrapping:()Z
            ifeq 7
            new java.lang.AssertionError
            dup
            ldc "HostToGuestRootNode which does not require enter cannot have exception wrapping."
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         7: .line 76
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    8     0             this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;
            0    8     1  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
    MethodParameters:
                 Name  Flags
      languageContext  

  protected abstract java.lang.Class<?> getReceiverType();
    descriptor: ()Ljava/lang/Class;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Signature: ()Ljava/lang/Class<*>;

  protected boolean needsEnter();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
         0: .line 81
            iconst_1
            ireturn
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;

  protected boolean needsExceptionWrapping();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
         0: .line 85
            iconst_1
            ireturn
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;

  public final java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
    descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=5, locals=13, args_size=2
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
        start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
         0: .line 90
            aload 1 /* frame */
            invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
            astore 2 /* args */
        start local 2 // java.lang.Object[] args
         1: .line 91
            aload 0 /* this */
            aload 2 /* args */
            iconst_0
            aaload
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.profileContext:(Ljava/lang/Object;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            astore 3 /* languageContext */
        start local 3 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
         2: .line 96
            getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
            ifne 3
            aload 3 /* languageContext */
            ifnonnull 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 97
      StackMap locals: java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext
      StackMap stack:
            aload 3 /* languageContext */
            getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            astore 4 /* context */
        start local 4 // com.oracle.truffle.polyglot.PolyglotContextImpl context
         4: .line 98
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsEnter:()Z
            ifeq 5
            aload 3 /* languageContext */
            ifnull 5
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            aload 4 /* context */
            invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.needsEnter:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Z
            ifeq 5
            iconst_1
            goto 6
      StackMap locals: com.oracle.truffle.polyglot.PolyglotContextImpl
      StackMap stack:
         5: iconst_0
      StackMap locals:
      StackMap stack: int
         6: istore 6 /* needsEnter */
        start local 6 // boolean needsEnter
         7: .line 99
            iload 6 /* needsEnter */
            ifeq 13
         8: .line 100
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenEnter:Z
            ifne 11
         9: .line 101
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
        10: .line 102
            aload 0 /* this */
            iconst_1
            putfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenEnter:Z
        11: .line 104
      StackMap locals: com.oracle.truffle.polyglot.HostToGuestRootNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext com.oracle.truffle.polyglot.PolyglotContextImpl top int
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            aload 4 /* context */
            invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.enter:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            astore 5 /* prev */
        start local 5 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        12: .line 105
            goto 20
        end local 5 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        13: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenNonEnter:Z
            ifne 16
        14: .line 107
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
        15: .line 108
            aload 0 /* this */
            iconst_1
            putfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenNonEnter:Z
        16: .line 110
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 5 /* prev */
        start local 5 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        17: .line 112
            goto 20
        end local 6 // boolean needsEnter
        end local 5 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        end local 4 // com.oracle.truffle.polyglot.PolyglotContextImpl context
      StackMap locals: com.oracle.truffle.polyglot.HostToGuestRootNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext
      StackMap stack: java.lang.Throwable
        18: astore 7 /* e */
        start local 7 // java.lang.Throwable e
        19: .line 113
            aload 0 /* this */
            aload 3 /* languageContext */
            aload 7 /* e */
            iconst_0
            ldc Ljava/lang/RuntimeException;
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.handleException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;ZLjava/lang/Class;)Ljava/lang/Throwable;
            checkcast java.lang.RuntimeException
            athrow
        end local 7 // java.lang.Throwable e
        start local 4 // com.oracle.truffle.polyglot.PolyglotContextImpl context
        start local 5 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        start local 6 // boolean needsEnter
        20: .line 116
      StackMap locals: com.oracle.truffle.polyglot.PolyglotContextImpl com.oracle.truffle.polyglot.PolyglotContextImpl int
      StackMap stack:
            aload 1 /* frame */
            invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
            astore 7 /* arguments */
        start local 7 // java.lang.Object[] arguments
        21: .line 117
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.getReceiverType:()Ljava/lang/Class;
            aload 7 /* arguments */
            iconst_1
            aaload
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 8 /* receiver */
        start local 8 // java.lang.Object receiver
        22: .line 119
            aload 0 /* this */
            aload 3 /* languageContext */
            aload 8 /* receiver */
            aload 7 /* arguments */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.executeImpl:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            astore 9 /* result */
        start local 9 // java.lang.Object result
        23: .line 120
            getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
            ifne 24
            aload 9 /* result */
            instanceof com.oracle.truffle.api.interop.TruffleObject
            ifeq 24
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        24: .line 121
      StackMap locals: java.lang.Object[] java.lang.Object java.lang.Object
      StackMap stack:
            aload 9 /* result */
            astore 11
        25: .line 125
            iload 6 /* needsEnter */
            ifeq 30
        26: .line 127
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            aload 5 /* prev */
            aload 4 /* context */
            invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.leave:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)V
        27: .line 128
            goto 30
      StackMap locals: com.oracle.truffle.polyglot.HostToGuestRootNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext com.oracle.truffle.polyglot.PolyglotContextImpl com.oracle.truffle.polyglot.PolyglotContextImpl int java.lang.Object[] java.lang.Object java.lang.Object top java.lang.Object
      StackMap stack: java.lang.Throwable
        28: astore 12 /* e */
        start local 12 // java.lang.Throwable e
        29: .line 129
            aload 0 /* this */
            aload 3 /* languageContext */
            aload 12 /* e */
            iconst_0
            ldc Ljava/lang/RuntimeException;
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.handleException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;ZLjava/lang/Class;)Ljava/lang/Throwable;
            checkcast java.lang.RuntimeException
            athrow
        end local 12 // java.lang.Throwable e
        30: .line 121
      StackMap locals:
      StackMap stack:
            aload 11
            areturn
        end local 9 // java.lang.Object result
        end local 8 // java.lang.Object receiver
        end local 7 // java.lang.Object[] arguments
        31: .line 122
      StackMap locals: com.oracle.truffle.polyglot.HostToGuestRootNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext com.oracle.truffle.polyglot.PolyglotContextImpl com.oracle.truffle.polyglot.PolyglotContextImpl int
      StackMap stack: java.lang.Throwable
            astore 7 /* e */
        start local 7 // java.lang.Throwable e
        32: .line 123
            aload 0 /* this */
            aload 3 /* languageContext */
            aload 7 /* e */
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsEnter:()Z
            ldc Ljava/lang/RuntimeException;
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.handleException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;ZLjava/lang/Class;)Ljava/lang/Throwable;
            checkcast java.lang.RuntimeException
            athrow
        end local 7 // java.lang.Throwable e
        33: .line 124
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 10
        34: .line 125
            iload 6 /* needsEnter */
            ifeq 39
        35: .line 127
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            aload 5 /* prev */
            aload 4 /* context */
            invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.leave:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)V
        36: .line 128
            goto 39
      StackMap locals: com.oracle.truffle.polyglot.HostToGuestRootNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext com.oracle.truffle.polyglot.PolyglotContextImpl com.oracle.truffle.polyglot.PolyglotContextImpl int top top top java.lang.Throwable
      StackMap stack: java.lang.Throwable
        37: astore 12 /* e */
        start local 12 // java.lang.Throwable e
        38: .line 129
            aload 0 /* this */
            aload 3 /* languageContext */
            aload 12 /* e */
            iconst_0
            ldc Ljava/lang/RuntimeException;
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.handleException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;ZLjava/lang/Class;)Ljava/lang/Throwable;
            checkcast java.lang.RuntimeException
            athrow
        end local 12 // java.lang.Throwable e
        39: .line 132
      StackMap locals:
      StackMap stack:
            aload 10
            athrow
        end local 6 // boolean needsEnter
        end local 5 // com.oracle.truffle.polyglot.PolyglotContextImpl prev
        end local 4 // com.oracle.truffle.polyglot.PolyglotContextImpl context
        end local 3 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        end local 2 // java.lang.Object[] args
        end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   40     0             this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;
            0   40     1            frame  Lcom/oracle/truffle/api/frame/VirtualFrame;
            1   40     2             args  [Ljava/lang/Object;
            2   40     3  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            4   18     4          context  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
           20   40     4          context  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
           12   13     5             prev  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
           17   18     5             prev  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
           20   40     5             prev  Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            7   18     6       needsEnter  Z
           20   40     6       needsEnter  Z
           19   20     7                e  Ljava/lang/Throwable;
           21   31     7        arguments  [Ljava/lang/Object;
           22   31     8         receiver  Ljava/lang/Object;
           23   31     9           result  Ljava/lang/Object;
           32   33     7                e  Ljava/lang/Throwable;
           29   30    12                e  Ljava/lang/Throwable;
           38   39    12                e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2    17      18  Class java.lang.Throwable
          26    27      28  Class java.lang.Throwable
          20    25      31  Class java.lang.Throwable
          20    25      33  any
          31    33      33  any
          35    36      37  Class java.lang.Throwable
    MethodParameters:
       Name  Flags
      frame  

  private <E extends java.lang.Throwable> E handleException(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Throwable, boolean, java.lang.Class<E>) throws E;
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;ZLjava/lang/Class;)Ljava/lang/Throwable;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
        start local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        start local 2 // java.lang.Throwable e
        start local 3 // boolean entered
        start local 4 // java.lang.Class exceptionType
         0: .line 137
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsExceptionWrapping:()Z
            ifeq 3
         1: .line 138
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.error:Lcom/oracle/truffle/api/profiles/BranchProfile;
            invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
         2: .line 139
            aload 1 /* languageContext */
            aload 2 /* e */
            iload 3 /* entered */
            invokestatic com.oracle.truffle.polyglot.PolyglotImpl.guestToHostException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;Z)Lorg/graalvm/polyglot/PolyglotException;
            athrow
         3: .line 142
      StackMap locals:
      StackMap stack:
            aload 2 /* e */
            athrow
        end local 4 // java.lang.Class exceptionType
        end local 3 // boolean entered
        end local 2 // java.lang.Throwable e
        end local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0             this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;
            0    4     1  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0    4     2                e  Ljava/lang/Throwable;
            0    4     3          entered  Z
            0    4     4    exceptionType  Ljava/lang/Class<TE;>;
    Exceptions:
      throws java.lang.Throwable
    Signature: <E:Ljava/lang/Throwable;>(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;ZLjava/lang/Class<TE;>;)TE;^TE;
    MethodParameters:
                 Name  Flags
      languageContext  
      e                
      entered          
      exceptionType    

  private com.oracle.truffle.polyglot.PolyglotLanguageContext profileContext(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
        start local 1 // java.lang.Object languageContext
         0: .line 146
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.HostToGuestRootNode.profile:Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
            astore 2 /* localProfile */
        start local 2 // com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile localProfile
         1: .line 147
            aload 2 /* localProfile */
            ifnonnull 4
         2: .line 148
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
         3: .line 149
            aload 0 /* this */
            aload 1 /* languageContext */
            checkcast com.oracle.truffle.polyglot.PolyglotLanguageContext
            getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
            getfield com.oracle.truffle.polyglot.PolyglotLanguage.profile:Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
            dup
            astore 2 /* localProfile */
            putfield com.oracle.truffle.polyglot.HostToGuestRootNode.profile:Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
         4: .line 151
      StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile
      StackMap stack:
            aload 2 /* localProfile */
            aload 1 /* languageContext */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile.profile:(Ljava/lang/Object;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            areturn
        end local 2 // com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile localProfile
        end local 1 // java.lang.Object languageContext
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0             this  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;
            0    5     1  languageContext  Ljava/lang/Object;
            1    5     2     localProfile  Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
    MethodParameters:
                 Name  Flags
      languageContext  

  protected abstract java.lang.Object executeImpl(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[]);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
                 Name  Flags
      languageContext  
      receiver         
      args             

  protected static com.oracle.truffle.api.CallTarget createTarget(com.oracle.truffle.polyglot.HostToGuestRootNode);
    descriptor: (Lcom/oracle/truffle/polyglot/HostToGuestRootNode;)Lcom/oracle/truffle/api/CallTarget;
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode node
         0: .line 157
            invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
            aload 0 /* node */
            invokeinterface com.oracle.truffle.api.TruffleRuntime.createCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/RootCallTarget;
            areturn
        end local 0 // com.oracle.truffle.polyglot.HostToGuestRootNode node
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  node  Lcom/oracle/truffle/polyglot/HostToGuestRootNode;
    MethodParameters:
      Name  Flags
      node  

  static <T> T installHostCodeCache(com.oracle.truffle.polyglot.PolyglotLanguageContext, , T, java.lang.Class<T>);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        start local 1 // java.lang.Object key
        start local 2 // java.lang.Object value
        start local 3 // java.lang.Class expectedType
         0: .line 161
            aload 3 /* expectedType */
            aload 0 /* languageContext */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.getLanguageInstance:()Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
            getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.hostInteropCodeCache:Ljava/util/Map;
            aload 1 /* key */
            aload 2 /* value */
            invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 4 /* result */
        start local 4 // java.lang.Object result
         1: .line 162
            aload 4 /* result */
            ifnull 3
         2: .line 163
            aload 4 /* result */
            areturn
         3: .line 165
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 2 /* value */
            areturn
        end local 4 // java.lang.Object result
        end local 3 // java.lang.Class expectedType
        end local 2 // java.lang.Object value
        end local 1 // java.lang.Object key
        end local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0    4     1              key  Ljava/lang/Object;
            0    4     2            value  TT;
            0    4     3     expectedType  Ljava/lang/Class<TT;>;
            1    4     4           result  TT;
    Signature: <T:Ljava/lang/Object;>(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;TT;Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
                 Name  Flags
      languageContext  
      key              
      value            
      expectedType     

  static <T> T lookupHostCodeCache(com.oracle.truffle.polyglot.PolyglotLanguageContext, , java.lang.Class<T>);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        start local 1 // java.lang.Object key
        start local 2 // java.lang.Class expectedType
         0: .line 170
            aload 2 /* expectedType */
            aload 0 /* languageContext */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.getLanguageInstance:()Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
            getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.hostInteropCodeCache:Ljava/util/Map;
            aload 1 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.Class expectedType
        end local 1 // java.lang.Object key
        end local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    1     0  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0    1     1              key  Ljava/lang/Object;
            0    1     2     expectedType  Ljava/lang/Class<TT;>;
    Signature: <T:Ljava/lang/Object;>(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
                 Name  Flags
      languageContext  
      key              
      expectedType     
}
SourceFile: "HostToGuestRootNode.java"
InnerClasses:
  public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
  public abstract NodeSupport = com.oracle.truffle.api.impl.Accessor$NodeSupport of com.oracle.truffle.api.impl.Accessor
  final ContextProfile = com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile of com.oracle.truffle.polyglot.PolyglotLanguage