public final class com.oracle.truffle.llvm.initialization.LoadNativeNode extends com.oracle.truffle.api.nodes.RootNode
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.initialization.LoadNativeNode
super_class: com.oracle.truffle.api.nodes.RootNode
{
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.api.TruffleLanguage$ContextReference<com.oracle.truffle.llvm.runtime.LLVMContext> ctxRef;
descriptor: Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/oracle/truffle/api/TruffleLanguage$ContextReference<Lcom/oracle/truffle/llvm/runtime/LLVMContext;>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private void <init>(com.oracle.truffle.api.frame.FrameDescriptor, com.oracle.truffle.llvm.runtime.LLVMLanguage, com.oracle.truffle.api.TruffleFile);
descriptor: (Lcom/oracle/truffle/api/frame/FrameDescriptor;Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;Lcom/oracle/truffle/api/TruffleFile;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 1
invokespecial com.oracle.truffle.api.nodes.RootNode.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/frame/FrameDescriptor;)V
1: aload 0
aload 3
invokevirtual com.oracle.truffle.api.TruffleFile.getPath:()Ljava/lang/String;
putfield com.oracle.truffle.llvm.initialization.LoadNativeNode.path:Ljava/lang/String;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/initialization/LoadNativeNode;
0 3 1 rootFrame Lcom/oracle/truffle/api/frame/FrameDescriptor;
0 3 2 language Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
0 3 3 file Lcom/oracle/truffle/api/TruffleFile;
MethodParameters:
Name Flags
rootFrame
language
file
public static com.oracle.truffle.llvm.initialization.LoadNativeNode create(com.oracle.truffle.api.frame.FrameDescriptor, com.oracle.truffle.llvm.runtime.LLVMLanguage, com.oracle.truffle.api.TruffleFile);
descriptor: (Lcom/oracle/truffle/api/frame/FrameDescriptor;Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;Lcom/oracle/truffle/api/TruffleFile;)Lcom/oracle/truffle/llvm/initialization/LoadNativeNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.llvm.initialization.LoadNativeNode
dup
aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.llvm.initialization.LoadNativeNode.<init>:(Lcom/oracle/truffle/api/frame/FrameDescriptor;Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;Lcom/oracle/truffle/api/TruffleFile;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rootFrame Lcom/oracle/truffle/api/frame/FrameDescriptor;
0 1 1 language Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
0 1 2 file Lcom/oracle/truffle/api/TruffleFile;
MethodParameters:
Name Flags
rootFrame
language
file
public java.lang.Object execute(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.initialization.LoadNativeNode.ctxRef:Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
ifnonnull 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
aload 0
ldc Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
invokevirtual com.oracle.truffle.llvm.initialization.LoadNativeNode.lookupContextReference:(Ljava/lang/Class;)Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
putfield com.oracle.truffle.llvm.initialization.LoadNativeNode.ctxRef:Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
arraylength
ifle 6
aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
iconst_0
aaload
instanceof com.oracle.truffle.llvm.initialization.LoadModulesNode$LLVMLoadingPhase
ifeq 6
4: aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
iconst_0
aaload
checkcast com.oracle.truffle.llvm.initialization.LoadModulesNode$LLVMLoadingPhase
astore 2
start local 2 5: goto 9
end local 2 StackMap locals:
StackMap stack:
6: aload 1
invokeinterface com.oracle.truffle.api.frame.VirtualFrame.getArguments:()[Ljava/lang/Object;
arraylength
ifne 8
7: new com.oracle.truffle.llvm.runtime.except.LLVMParserException
dup
aload 0
ldc "Toplevel executable %s does not contain bitcode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.llvm.initialization.LoadNativeNode.path:Ljava/lang/String;
aastore
invokespecial com.oracle.truffle.llvm.runtime.except.LLVMParserException.<init>:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
new com.oracle.truffle.llvm.runtime.except.LLVMParserException
dup
aload 0
ldc "LoadNativeNode is called either with unexpected arguments or as a toplevel"
iconst_0
anewarray java.lang.Object
invokespecial com.oracle.truffle.llvm.runtime.except.LLVMParserException.<init>:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
start local 2 9: StackMap locals: com.oracle.truffle.llvm.initialization.LoadModulesNode$LLVMLoadingPhase
StackMap stack:
getstatic com.oracle.truffle.llvm.initialization.LoadModulesNode$LLVMLoadingPhase.INIT_SYMBOLS:Lcom/oracle/truffle/llvm/initialization/LoadModulesNode$LLVMLoadingPhase;
aload 2
invokevirtual com.oracle.truffle.llvm.initialization.LoadModulesNode$LLVMLoadingPhase.isActive:(Lcom/oracle/truffle/llvm/initialization/LoadModulesNode$LLVMLoadingPhase;)Z
ifeq 12
10: aload 0
getfield com.oracle.truffle.llvm.initialization.LoadNativeNode.ctxRef:Lcom/oracle/truffle/api/TruffleLanguage$ContextReference;
invokevirtual com.oracle.truffle.api.TruffleLanguage$ContextReference.get:()Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.runtime.LLVMContext
astore 3
start local 3 11: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.initialization.LoadNativeNode.parseAndInitialiseNativeLib:(Lcom/oracle/truffle/llvm/runtime/LLVMContext;)V
end local 3 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/initialization/LoadNativeNode;
0 13 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
5 6 2 phase Lcom/oracle/truffle/llvm/initialization/LoadModulesNode$LLVMLoadingPhase;
9 13 2 phase Lcom/oracle/truffle/llvm/initialization/LoadModulesNode$LLVMLoadingPhase;
11 12 3 context Lcom/oracle/truffle/llvm/runtime/LLVMContext;
MethodParameters:
Name Flags
frame
private void parseAndInitialiseNativeLib(com.oracle.truffle.llvm.runtime.LLVMContext);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
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 2
start local 2 1: aload 2
ifnull 4
2: aload 2
aload 0
getfield com.oracle.truffle.llvm.initialization.LoadNativeNode.path:Ljava/lang/String;
aload 1
invokevirtual com.oracle.truffle.llvm.runtime.NativeContextExtension.parseNativeLibrary:(Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/LLVMContext;)Lcom/oracle/truffle/api/CallTarget;
astore 3
start local 3 3: aload 2
aload 3
iconst_0
anewarray java.lang.Object
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.truffle.llvm.runtime.NativeContextExtension.addLibraryHandles:(Ljava/lang/Object;)V
end local 3 4: StackMap locals: com.oracle.truffle.llvm.runtime.NativeContextExtension
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/initialization/LoadNativeNode;
0 5 1 context Lcom/oracle/truffle/llvm/runtime/LLVMContext;
1 5 2 nativeContextExtension Lcom/oracle/truffle/llvm/runtime/NativeContextExtension;
3 4 3 callTarget Lcom/oracle/truffle/api/CallTarget;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
context
}
SourceFile: "LoadNativeNode.java"
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract ContextReference = com.oracle.truffle.api.TruffleLanguage$ContextReference of com.oracle.truffle.api.TruffleLanguage
protected final LLVMLoadingPhase = com.oracle.truffle.llvm.initialization.LoadModulesNode$LLVMLoadingPhase of com.oracle.truffle.llvm.initialization.LoadModulesNode