abstract class com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache$NewInstanceNode extends com.oracle.truffle.polyglot.PolyglotValue$InteropNode
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache$NewInstanceNode
super_class: com.oracle.truffle.polyglot.PolyglotValue$InteropNode
{
private final com.oracle.truffle.polyglot.PolyglotLanguageContext$ToGuestValuesNode toGuestValues;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToGuestValuesNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.polyglot.PolyglotLanguageContext$ToHostValueNode toHostValue;
descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToHostValueNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.oracle.truffle.polyglot.PolyglotValue$InteropNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache;)V
1: aload 0
invokestatic com.oracle.truffle.polyglot.PolyglotLanguageContext$ToGuestValuesNode.create:()Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToGuestValuesNode;
putfield com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache$NewInstanceNode.toGuestValues:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToGuestValuesNode;
2: aload 0
aload 1
getfield com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache.languageInstance:Lcom/oracle/truffle/polyglot/PolyglotLanguageInstance;
getfield com.oracle.truffle.polyglot.PolyglotLanguageInstance.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage.getImpl:()Lcom/oracle/truffle/polyglot/PolyglotImpl;
invokestatic com.oracle.truffle.polyglot.PolyglotLanguageContext$ToHostValueNode.create:(Lcom/oracle/truffle/polyglot/PolyglotImpl;)Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToHostValueNode;
putfield com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache$NewInstanceNode.toHostValue:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToHostValueNode;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache$NewInstanceNode;
0 4 1 interop Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache;
MethodParameters:
Name Flags
interop
protected java.lang.Class<?>[] getArgumentTypes();
descriptor: ()[Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache$NewInstanceNode.polyglot:Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache;
getfield com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache.receiverType:Ljava/lang/Class;
aastore
dup
iconst_2
ldc [Ljava/lang/Object;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache$NewInstanceNode;
Signature: ()[Ljava/lang/Class<*>;
static java.lang.Object doCached(com.oracle.truffle.polyglot.PolyglotLanguageContext, java.lang.Object, java.lang.Object[], com.oracle.truffle.api.interop.InteropLibrary, com.oracle.truffle.polyglot.PolyglotLanguageContext$ToGuestValuesNode, com.oracle.truffle.polyglot.PolyglotLanguageContext$ToHostValueNode, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToGuestValuesNode;Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToHostValueNode;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=11, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 4
aload 0
aload 2
iconst_2
aaload
checkcast java.lang.Object[]
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext$ToGuestValuesNode.apply:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;[Ljava/lang/Object;)[Ljava/lang/Object;
astore 9
start local 9 1: aload 5
aload 0
aload 3
aload 1
aload 9
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.instantiate:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext$ToHostValueNode.execute:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
2: areturn
3: StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguageContext java.lang.Object java.lang.Object[] com.oracle.truffle.api.interop.InteropLibrary com.oracle.truffle.polyglot.PolyglotLanguageContext$ToGuestValuesNode com.oracle.truffle.polyglot.PolyglotLanguageContext$ToHostValueNode com.oracle.truffle.api.profiles.BranchProfile com.oracle.truffle.api.profiles.BranchProfile com.oracle.truffle.api.profiles.BranchProfile java.lang.Object[]
StackMap stack: com.oracle.truffle.api.interop.UnsupportedTypeException
pop
4: aload 7
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
5: aload 0
aload 1
aload 9
invokestatic com.oracle.truffle.polyglot.PolyglotValue.invalidInstantiateArgumentType:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
6: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.ArityException
astore 10
start local 10 7: aload 6
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
8: aload 0
aload 1
aload 9
aload 10
invokevirtual com.oracle.truffle.api.interop.ArityException.getExpectedArity:()I
aload 10
invokevirtual com.oracle.truffle.api.interop.ArityException.getActualArity:()I
invokestatic com.oracle.truffle.polyglot.PolyglotValue.invalidInstantiateArity:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;[Ljava/lang/Object;II)Ljava/lang/RuntimeException;
athrow
end local 10 9: StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
pop
10: aload 8
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
11: aload 0
aload 1
invokestatic com.oracle.truffle.polyglot.PolyglotValue.newInstanceUnsupported:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
areturn
end local 9 end local 8 end local 7 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 12 0 context Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
0 12 1 receiver Ljava/lang/Object;
0 12 2 args [Ljava/lang/Object;
0 12 3 instantiables Lcom/oracle/truffle/api/interop/InteropLibrary;
0 12 4 toGuestValues Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToGuestValuesNode;
0 12 5 toHostValue Lcom/oracle/truffle/polyglot/PolyglotLanguageContext$ToHostValueNode;
0 12 6 arity Lcom/oracle/truffle/api/profiles/BranchProfile;
0 12 7 invalidArgument Lcom/oracle/truffle/api/profiles/BranchProfile;
0 12 8 unsupported Lcom/oracle/truffle/api/profiles/BranchProfile;
1 12 9 instantiateArguments [Ljava/lang/Object;
7 9 10 e Lcom/oracle/truffle/api/interop/ArityException;
Exception table:
from to target type
1 2 3 Class com.oracle.truffle.api.interop.UnsupportedTypeException
1 2 6 Class com.oracle.truffle.api.interop.ArityException
1 2 9 Class com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(limit = "CACHE_LIMIT")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.library.CachedLibrary(value = "receiver")
4:
com.oracle.truffle.api.dsl.Cached()
5:
com.oracle.truffle.api.dsl.Cached(value = "createToHost()")
6:
com.oracle.truffle.api.dsl.Cached()
7:
com.oracle.truffle.api.dsl.Cached()
8:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
context
receiver
args
instantiables
toGuestValues
toHostValue
arity
invalidArgument
unsupported
protected java.lang.String getOperationName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "newInstance"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/PolyglotValue$InteropCodeCache$NewInstanceNode;
}
SourceFile: "PolyglotValue.java"
NestHost: com.oracle.truffle.polyglot.PolyglotValue
InnerClasses:
final ToGuestValuesNode = com.oracle.truffle.polyglot.PolyglotLanguageContext$ToGuestValuesNode of com.oracle.truffle.polyglot.PolyglotLanguageContext
final ToHostValueNode = com.oracle.truffle.polyglot.PolyglotLanguageContext$ToHostValueNode of com.oracle.truffle.polyglot.PolyglotLanguageContext
InteropCodeCache = com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache of com.oracle.truffle.polyglot.PolyglotValue
abstract NewInstanceNode = com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache$NewInstanceNode of com.oracle.truffle.polyglot.PolyglotValue$InteropCodeCache
abstract InteropNode = com.oracle.truffle.polyglot.PolyglotValue$InteropNode of com.oracle.truffle.polyglot.PolyglotValue