public final class com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor extends com.oracle.truffle.llvm.runtime.interop.LLVMInternalTruffleObject implements java.lang.Comparable<com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
super_class: com.oracle.truffle.llvm.runtime.interop.LLVMInternalTruffleObject
{
private static final long SULONG_FUNCTION_POINTER_TAG;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4981268375154982912
private final com.oracle.truffle.llvm.runtime.LLVMFunction llvmFunction;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.llvm.runtime.LLVMFunctionCode functionCode;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object nativeWrapper;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private long nativePointer;
descriptor: J
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
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=2, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
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.llvm.runtime.LLVMFunctionDescriptor.$assertionsDisabled:Z
3: getstatic com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.$assertionsDisabled:Z
ifne 4
ldc -4981268375154982912
invokestatic com.oracle.truffle.llvm.runtime.memory.LLVMHandleMemoryBase.isCommonHandleMemory:(J)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.$assertionsDisabled:Z
ifne 5
ldc -4981268375154982912
invokestatic com.oracle.truffle.llvm.runtime.memory.LLVMHandleMemoryBase.isDerefHandleMemory:(J)Z
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
private static long tagSulongFunctionPointer(int);
descriptor: (I)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
i2l
ldc -4981268375154982912
lor
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id I
MethodParameters:
Name Flags
id
public com.oracle.truffle.llvm.runtime.LLVMFunction getLLVMFunction();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
public com.oracle.truffle.llvm.runtime.LLVMFunctionCode getFunctionCode();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.functionCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
public long getNativePointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativePointer:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
public void <init>(com.oracle.truffle.llvm.runtime.LLVMFunction, com.oracle.truffle.llvm.runtime.LLVMFunctionCode);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunction;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.oracle.truffle.llvm.runtime.interop.LLVMInternalTruffleObject.<init>:()V
1: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
2: aload 0
aload 1
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
3: aload 0
aload 2
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.functionCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
0 5 1 llvmFunction Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
0 5 2 functionCode Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
MethodParameters:
Name Flags
llvmFunction
functionCode
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "function@%d '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getSymbolIndex:(Z)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
public int compareTo(com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getSymbolIndex:(Z)I
istore 2
start local 2 1: aload 1
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getBitcodeID:(Z)I
istore 3
start local 3 2: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getSymbolIndex:(Z)I
istore 4
start local 4 3: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getBitcodeID:(Z)I
istore 5
start local 5 4: iload 5
iload 3
if_icmpne 6
5: iload 4
i2l
iload 2
i2l
invokestatic java.lang.Long.compare:(JJ)I
ireturn
6: StackMap locals: com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor int int int int
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Comparing functions from different bitcode files."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
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 7 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
0 7 1 o Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
1 7 2 otherIndex I
2 7 3 otherID I
3 7 4 index I
4 7 5 id I
MethodParameters:
Name Flags
o
long asPointer();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.isPointer:()Z
ifeq 2
1: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativePointer:J
lreturn
2: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
3: invokestatic com.oracle.truffle.api.interop.UnsupportedMessageException.create:()Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean isPointer();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativeWrapper:Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor toNative();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativeWrapper:Ljava/lang/Object;
ifnonnull 7
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.functionCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function.createNativeWrapper:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)Ljava/lang/Object;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativeWrapper:Ljava/lang/Object;
3: aload 0
invokestatic com.oracle.truffle.api.interop.InteropLibrary.getFactory:()Lcom/oracle/truffle/api/library/LibraryFactory;
invokevirtual com.oracle.truffle.api.library.LibraryFactory.getUncached:()Lcom/oracle/truffle/api/library/Library;
checkcast com.oracle.truffle.api.interop.InteropLibrary
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativeWrapper:Ljava/lang/Object;
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asPointer:(Ljava/lang/Object;)J
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativePointer:J
4: goto 7
StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
5: pop
6: aload 0
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getSymbolIndex:(Z)I
invokestatic com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.tagSulongFunctionPointer:(I)J
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.nativePointer:J
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
Exception table:
from to target type
3 4 5 Class com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean isExecutable();
descriptor: ()Z
flags: (0x0000)
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/llvm/runtime/LLVMFunctionDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean hasMembers();
descriptor: ()Z
flags: (0x0000)
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/llvm/runtime/LLVMFunctionDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object getMembers(boolean);
descriptor: (Z)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor$FunctionMembers
dup
invokespecial com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor$FunctionMembers.<init>:()V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
0 1 1 includeInternal Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
includeInternal
boolean isMemberInvocable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "bind"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
0 1 1 member Ljava/lang/String;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
member
java.lang.Object invokeMember(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "bind"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.oracle.truffle.api.interop.UnknownIdentifierException.create:(Ljava/lang/String;)Lcom/oracle/truffle/api/interop/UnknownIdentifierException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
0 3 1 member Ljava/lang/String;
0 3 2 args [Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.UnknownIdentifierException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
member
args
boolean isInstantiable();
descriptor: ()Z
flags: (0x0000)
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/llvm/runtime/LLVMFunctionDescriptor;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object instantiate(java.lang.Object[], com.oracle.truffle.api.nodes.IndirectCallNode);
descriptor: ([Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/IndirectCallNode;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
iconst_1
iadd
anewarray java.lang.Object
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 3
iload 4
iconst_1
iadd
aload 1
iload 4
aaload
aastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 1
arraylength
if_icmplt 3
end local 4 6: aload 2
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.functionCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getForeignConstructorCallTarget:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)Lcom/oracle/truffle/api/CallTarget;
aload 3
invokevirtual com.oracle.truffle.api.nodes.IndirectCallNode.call:(Lcom/oracle/truffle/api/CallTarget;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
0 7 1 arguments [Ljava/lang/Object;
0 7 2 call Lcom/oracle/truffle/api/nodes/IndirectCallNode;
1 7 3 newArgs [Ljava/lang/Object;
2 6 4 i I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached$Exclusive()
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
arguments
call
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.compareTo:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/oracle/truffle/llvm/runtime/interop/LLVMInternalTruffleObject;Ljava/lang/Comparable<Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;>;
SourceFile: "LLVMFunctionDescriptor.java"
NestMembers:
com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor$Execute com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor$FunctionMembers
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract Exclusive = com.oracle.truffle.api.dsl.Cached$Exclusive of com.oracle.truffle.api.dsl.Cached
public abstract Function = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
Execute = com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor$Execute of com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
final FunctionMembers = com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor$FunctionMembers of com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)