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: 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: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial com.oracle.truffle.polyglot.HostToGuestRootNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;)V
1: return
end local 0 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 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
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: aload 0
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: aload 0
getstatic com.oracle.truffle.polyglot.EngineAccessor.NODES:Lcom/oracle/truffle/api/impl/Accessor$NodeSupport;
aload 0
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: getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
ifne 6
aload 0
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: 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
invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsEnter:()Z
ifne 7
aload 0
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: StackMap locals:
StackMap stack:
return
end local 1 end local 0 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 0: iconst_1
ireturn
end local 0 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 0: iconst_1
ireturn
end local 0 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 start local 1 0: aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
astore 2
start local 2 1: aload 0
aload 2
iconst_0
aaload
invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.profileContext:(Ljava/lang/Object;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
astore 3
start local 3 2: getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
ifne 3
aload 3
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: java.lang.Object[] com.oracle.truffle.polyglot.PolyglotLanguageContext
StackMap stack:
aload 3
getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 4
start local 4 4: aload 0
invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsEnter:()Z
ifeq 5
aload 3
ifnull 5
aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 4
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
start local 6 7: iload 6
ifeq 13
8: aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenEnter:Z
ifne 11
9: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
10: aload 0
iconst_1
putfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenEnter:Z
11: 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
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 4
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.enter:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
astore 5
start local 5 12: goto 20
end local 5 13: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenNonEnter:Z
ifne 16
14: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
15: aload 0
iconst_1
putfield com.oracle.truffle.polyglot.HostToGuestRootNode.seenNonEnter:Z
16: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 17: goto 20
end local 6 end local 5 end local 4 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
start local 7 19: aload 0
aload 3
aload 7
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 start local 4 start local 5 start local 6 20: StackMap locals: com.oracle.truffle.polyglot.PolyglotContextImpl com.oracle.truffle.polyglot.PolyglotContextImpl int
StackMap stack:
aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
astore 7
start local 7 21: aload 0
invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.getReceiverType:()Ljava/lang/Class;
aload 7
iconst_1
aaload
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 22: aload 0
aload 3
aload 8
aload 7
invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.executeImpl:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 23: getstatic com.oracle.truffle.polyglot.HostToGuestRootNode.$assertionsDisabled:Z
ifne 24
aload 9
instanceof com.oracle.truffle.api.interop.TruffleObject
ifeq 24
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals: java.lang.Object[] java.lang.Object java.lang.Object
StackMap stack:
aload 9
astore 11
25: iload 6
ifeq 30
26: aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 5
aload 4
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.leave:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)V
27: 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
start local 12 29: aload 0
aload 3
aload 12
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 30: StackMap locals:
StackMap stack:
aload 11
areturn
end local 9 end local 8 end local 7 31: 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
start local 7 32: aload 0
aload 3
aload 7
aload 0
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 33: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
34: iload 6
ifeq 39
35: aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
aload 5
aload 4
invokevirtual com.oracle.truffle.polyglot.PolyglotEngineImpl.leave:(Lcom/oracle/truffle/polyglot/PolyglotContextImpl;Lcom/oracle/truffle/polyglot/PolyglotContextImpl;)V
36: 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
start local 12 38: aload 0
aload 3
aload 12
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 39: StackMap locals:
StackMap stack:
aload 10
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.oracle.truffle.polyglot.HostToGuestRootNode.needsExceptionWrapping:()Z
ifeq 3
1: aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.error:Lcom/oracle/truffle/api/profiles/BranchProfile;
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
2: aload 1
aload 2
iload 3
invokestatic com.oracle.truffle.polyglot.PolyglotImpl.guestToHostException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;Z)Lorg/graalvm/polyglot/PolyglotException;
athrow
3: StackMap locals:
StackMap stack:
aload 2
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.HostToGuestRootNode.profile:Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
3: aload 0
aload 1
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
putfield com.oracle.truffle.polyglot.HostToGuestRootNode.profile:Lcom/oracle/truffle/polyglot/PolyglotLanguage$ContextProfile;
4: StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile
StackMap stack:
aload 2
aload 1
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage$ContextProfile.profile:(Ljava/lang/Object;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
areturn
end local 2 end local 1 end local 0 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 0: invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
aload 0
invokeinterface com.oracle.truffle.api.TruffleRuntime.createCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/RootCallTarget;
areturn
end local 0 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 start local 1 start local 2 start local 3 0: aload 3
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.getLanguageInstance:()Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.hostInteropCodeCache:Ljava/util/Map;
aload 1
aload 2
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
start local 4 1: aload 4
ifnull 3
2: aload 4
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 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 start local 1 start local 2 0: aload 2
aload 0
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.getLanguageInstance:()Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.hostInteropCodeCache:Ljava/util/Map;
aload 1
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 end local 1 end local 0 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