abstract class com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction extends com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction
super_class: com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction this
0: .line 188
aload 0 /* this */
invokespecial com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function.<init>:()V
return
end local 0 // com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ManagedFunction;
java.lang.Object createNativeWrapper(com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 // com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction this
start local 1 // com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor descriptor
0: .line 191
invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: .line 192
invokestatic com.oracle.truffle.llvm.runtime.LLVMLanguage.getContext:()Lcom/oracle/truffle/llvm/runtime/LLVMContext;
astore 2 /* context */
start local 2 // com.oracle.truffle.llvm.runtime.LLVMContext context
2: .line 193
aconst_null
astore 3 /* wrapper */
start local 3 // java.lang.Object wrapper
3: .line 194
aconst_null
astore 4 /* pointer */
start local 4 // com.oracle.truffle.llvm.runtime.pointer.LLVMNativePointer pointer
4: .line 195
aload 2 /* context */
ldc Lcom/oracle/truffle/llvm/runtime/NativeContextExtension;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMContext.getContextExtensionOrNull:(Ljava/lang/Class;)Lcom/oracle/truffle/llvm/runtime/ContextExtension;
checkcast com.oracle.truffle.llvm.runtime.NativeContextExtension
astore 5 /* nativeContextExtension */
start local 5 // com.oracle.truffle.llvm.runtime.NativeContextExtension nativeContextExtension
5: .line 196
aload 5 /* nativeContextExtension */
ifnull 13
6: .line 197
aload 5 /* nativeContextExtension */
aload 1 /* descriptor */
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.getLLVMFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
aload 1 /* descriptor */
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.getFunctionCode:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
invokevirtual com.oracle.truffle.llvm.runtime.NativeContextExtension.createNativeWrapper:(Lcom/oracle/truffle/llvm/runtime/LLVMFunction;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)Ljava/lang/Object;
astore 3 /* wrapper */
7: .line 198
aload 3 /* wrapper */
ifnull 13
8: .line 200
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 3 /* wrapper */
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asPointer:(Ljava/lang/Object;)J
invokestatic com.oracle.truffle.llvm.runtime.pointer.LLVMNativePointer.create:(J)Lcom/oracle/truffle/llvm/runtime/pointer/LLVMNativePointer;
astore 4 /* pointer */
9: .line 201
goto 13
StackMap locals: com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor com.oracle.truffle.llvm.runtime.LLVMContext java.lang.Object com.oracle.truffle.llvm.runtime.pointer.LLVMNativePointer com.oracle.truffle.llvm.runtime.NativeContextExtension
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
10: astore 6 /* e */
start local 6 // com.oracle.truffle.api.interop.UnsupportedMessageException e
11: .line 202
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
12: .line 203
new java.lang.AssertionError
dup
aload 6 /* e */
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 6 // com.oracle.truffle.api.interop.UnsupportedMessageException e
13: .line 208
StackMap locals:
StackMap stack:
aload 3 /* wrapper */
ifnonnull 16
14: .line 209
aload 1 /* descriptor */
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.getLLVMFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
iconst_0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getSymbolIndex:(Z)I
invokestatic com.oracle.truffle.llvm.runtime.LLVMFunctionCode.tagSulongFunctionPointer:(I)J
invokestatic com.oracle.truffle.llvm.runtime.pointer.LLVMNativePointer.create:(J)Lcom/oracle/truffle/llvm/runtime/pointer/LLVMNativePointer;
astore 4 /* pointer */
15: .line 210
aload 4 /* pointer */
astore 3 /* wrapper */
16: .line 213
StackMap locals:
StackMap stack:
aload 2 /* context */
aload 4 /* pointer */
aload 1 /* descriptor */
invokevirtual com.oracle.truffle.llvm.runtime.LLVMContext.registerFunctionPointer:(Lcom/oracle/truffle/llvm/runtime/pointer/LLVMNativePointer;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)V
17: .line 214
aload 3 /* wrapper */
areturn
end local 5 // com.oracle.truffle.llvm.runtime.NativeContextExtension nativeContextExtension
end local 4 // com.oracle.truffle.llvm.runtime.pointer.LLVMNativePointer pointer
end local 3 // java.lang.Object wrapper
end local 2 // com.oracle.truffle.llvm.runtime.LLVMContext context
end local 1 // com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor descriptor
end local 0 // com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ManagedFunction;
0 18 1 descriptor Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
2 18 2 context Lcom/oracle/truffle/llvm/runtime/LLVMContext;
3 18 3 wrapper Ljava/lang/Object;
4 18 4 pointer Lcom/oracle/truffle/llvm/runtime/pointer/LLVMNativePointer;
5 18 5 nativeContextExtension Lcom/oracle/truffle/llvm/runtime/NativeContextExtension;
11 13 6 e Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
Exception table:
from to target type
8 9 10 Class com.oracle.truffle.api.interop.UnsupportedMessageException
MethodParameters:
Name Flags
descriptor
}
SourceFile: "LLVMFunctionCode.java"
NestHost: com.oracle.truffle.llvm.runtime.LLVMFunctionCode
InnerClasses:
public abstract Function = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
abstract ManagedFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode