public final class com.oracle.truffle.llvm.runtime.LLVMFunctionCode
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.runtime.LLVMFunctionCode
super_class: java.lang.Object
{
private static final long SULONG_FUNCTION_POINTER_TAG;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4981268375154982912
private com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function functionFinal;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function functionDynamic;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
flags: (0x0002) ACC_PRIVATE
private com.oracle.truffle.api.Assumption assumption;
descriptor: Lcom/oracle/truffle/api/Assumption;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private final com.oracle.truffle.llvm.runtime.LLVMFunction llvmFunction;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.api.CallTarget foreignFunctionCallTarget;
descriptor: Lcom/oracle/truffle/api/CallTarget;
flags: (0x0002) ACC_PRIVATE
private com.oracle.truffle.api.CallTarget foreignConstructorCallTarget;
descriptor: Lcom/oracle/truffle/api/CallTarget;
flags: (0x0002) ACC_PRIVATE
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/LLVMFunctionCode;
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.LLVMFunctionCode.$assertionsDisabled:Z
3: getstatic com.oracle.truffle.llvm.runtime.LLVMFunctionCode.$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.LLVMFunctionCode.$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
public void <init>(com.oracle.truffle.llvm.runtime.LLVMFunction);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
2: aload 0
aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
dup_x1
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionDynamic:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionFinal:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
3: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
invokeinterface com.oracle.truffle.api.TruffleRuntime.createAssumption:()Lcom/oracle/truffle/api/Assumption;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.assumption:Lcom/oracle/truffle/api/Assumption;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 5 1 llvmFunction Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
MethodParameters:
Name Flags
llvmFunction
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 void resolveIfLazyLLVMIRFunction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation:()V
1: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LazyLLVMIRFunction
ifeq 4
2: aload 0
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.resolve:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)V
3: getstatic com.oracle.truffle.llvm.runtime.LLVMFunctionCode.$assertionsDisabled:Z
ifne 4
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LLVMIRFunction
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public boolean isLLVMIRFunction();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
astore 1
start local 1 1: aload 1
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LLVMIRFunction
ifne 2
aload 1
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LazyLLVMIRFunction
ifne 2
iconst_0
ireturn
StackMap locals: com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
1 3 1 currentFunction Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
public boolean isIntrinsicFunctionSlowPath();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tResolveFunctionNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public boolean isIntrinsicFunction(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode.execute:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 1 1 resolve Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;
MethodParameters:
Name Flags
resolve
public boolean isNativeFunctionSlowPath();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tResolveFunctionNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public boolean isNativeFunction(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode.execute:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$NativeFunction
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 1 1 resolve Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;
MethodParameters:
Name Flags
resolve
public boolean isDefined();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionCode$UnresolvedFunction
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public void define(com.oracle.truffle.llvm.runtime.LLVMIntrinsicProvider, com.oracle.truffle.llvm.runtime.NodeFactory);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMIntrinsicProvider;Lcom/oracle/truffle/llvm/runtime/NodeFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Intrinsic
dup
aload 1
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.llvmFunction:Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getName:()Ljava/lang/String;
aload 2
invokespecial com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Intrinsic.<init>:(Lcom/oracle/truffle/llvm/runtime/LLVMIntrinsicProvider;Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/NodeFactory;)V
astore 3
start local 3 1: aload 0
new com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction
dup
aload 3
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function.getSourceType:()Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;
invokespecial com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction.<init>:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Intrinsic;Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;)V
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.define:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;)V
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/runtime/LLVMFunctionCode;
0 3 1 intrinsicProvider Lcom/oracle/truffle/llvm/runtime/LLVMIntrinsicProvider;
0 3 2 nodeFactory Lcom/oracle/truffle/llvm/runtime/NodeFactory;
1 3 3 intrinsification Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Intrinsic;
MethodParameters:
Name Flags
intrinsicProvider
nodeFactory
public void define(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.setFunction:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 2 1 newFunction Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
MethodParameters:
Name Flags
newFunction
public com.oracle.truffle.api.RootCallTarget getLLVMIRFunctionSlowPath();
descriptor: ()Lcom/oracle/truffle/api/RootCallTarget;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tResolveFunctionNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public com.oracle.truffle.api.RootCallTarget getLLVMIRFunction(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;)Lcom/oracle/truffle/api/RootCallTarget;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode.execute:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
astore 2
start local 2 1: aload 2
checkcast com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LLVMIRFunction
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LLVMIRFunction.callTarget:Lcom/oracle/truffle/api/RootCallTarget;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 2 1 resolve Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;
1 2 2 fn Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
MethodParameters:
Name Flags
resolve
public com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Intrinsic getIntrinsicSlowPath();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Intrinsic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tResolveFunctionNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Intrinsic getIntrinsic(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;)Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Intrinsic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode.execute:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
astore 2
start local 2 1: aload 2
checkcast com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction.intrinsic:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Intrinsic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 2 1 resolve Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;
1 2 2 fn Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
MethodParameters:
Name Flags
resolve
public java.lang.Object getNativeFunctionSlowPath();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tResolveFunctionNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
public java.lang.Object getNativeFunction(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode.execute:(Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;)Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
astore 2
start local 2 1: aload 2
checkcast com.oracle.truffle.llvm.runtime.LLVMFunctionCode$NativeFunction
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode$NativeFunction.nativeFunction:Ljava/lang/Object;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
4: new com.oracle.truffle.llvm.runtime.except.LLVMLinkerException
dup
new java.lang.StringBuilder
dup
ldc "Native function "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.oracle.truffle.llvm.runtime.except.LLVMLinkerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 6 1 resolve Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$ResolveFunctionNode;
1 6 2 fn Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
2 6 3 nativeFunction Ljava/lang/Object;
MethodParameters:
Name Flags
resolve
com.oracle.truffle.api.CallTarget getForeignCallTarget(com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)Lcom/oracle/truffle/api/CallTarget;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignFunctionCallTarget:Lcom/oracle/truffle/api/CallTarget;
ifnonnull 8
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
2: invokestatic com.oracle.truffle.llvm.runtime.LLVMLanguage.getLanguage:()Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
astore 2
start local 2 3: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function.getSourceType:()Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;
astore 3
start local 3 4: aload 2
aload 3
invokevirtual com.oracle.truffle.llvm.runtime.LLVMLanguage.getInteropType:(Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceType;)Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
astore 4
start local 4 5: aload 2
aload 1
aload 4
aload 3
invokestatic com.oracle.truffle.llvm.runtime.interop.LLVMForeignFunctionCallNode.create:(Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;)Lcom/oracle/truffle/llvm/runtime/interop/LLVMForeignFunctionCallNode;
astore 5
start local 5 6: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
aload 5
invokeinterface com.oracle.truffle.api.TruffleRuntime.createCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/RootCallTarget;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignFunctionCallTarget:Lcom/oracle/truffle/api/CallTarget;
7: getstatic com.oracle.truffle.llvm.runtime.LLVMFunctionCode.$assertionsDisabled:Z
ifne 8
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignFunctionCallTarget:Lcom/oracle/truffle/api/CallTarget;
ifnonnull 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 5 end local 4 end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignFunctionCallTarget:Lcom/oracle/truffle/api/CallTarget;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 9 1 functionDescriptor Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
3 8 2 language Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
4 8 3 sourceType Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;
5 8 4 interopType Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
6 8 5 foreignCall Lcom/oracle/truffle/llvm/runtime/interop/LLVMForeignCallNode;
MethodParameters:
Name Flags
functionDescriptor
com.oracle.truffle.api.CallTarget getForeignConstructorCallTarget(com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;)Lcom/oracle/truffle/api/CallTarget;
flags: (0x0000)
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignConstructorCallTarget:Lcom/oracle/truffle/api/CallTarget;
ifnonnull 12
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
2: invokestatic com.oracle.truffle.llvm.runtime.LLVMLanguage.getLanguage:()Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
astore 2
start local 2 3: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode.getFunction:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function.getSourceType:()Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;
astore 3
start local 3 4: aload 2
aload 3
invokevirtual com.oracle.truffle.llvm.runtime.LLVMLanguage.getInteropType:(Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceType;)Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
astore 4
start local 4 5: aload 4
checkcast com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Function
iconst_0
invokevirtual com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Function.getParameter:(I)Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
astore 5
start local 5 6: aload 5
instanceof com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Value
ifeq 11
7: aload 5
checkcast com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Value
getfield com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Value.baseType:Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType$Structured;
astore 6
start local 6 8: aload 2
aload 1
aload 4
aload 3
aload 6
9: invokestatic com.oracle.truffle.llvm.runtime.interop.LLVMForeignConstructorCallNode.create:(Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType$Structured;)Lcom/oracle/truffle/llvm/runtime/interop/LLVMForeignConstructorCallNode;
astore 7
start local 7 10: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
aload 7
invokeinterface com.oracle.truffle.api.TruffleRuntime.createCallTarget:(Lcom/oracle/truffle/api/nodes/RootNode;)Lcom/oracle/truffle/api/RootCallTarget;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignConstructorCallTarget:Lcom/oracle/truffle/api/CallTarget;
end local 7 end local 6 11: StackMap locals: com.oracle.truffle.llvm.runtime.LLVMFunctionCode com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor com.oracle.truffle.llvm.runtime.LLVMLanguage com.oracle.truffle.llvm.runtime.debug.type.LLVMSourceFunctionType com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType
StackMap stack:
getstatic com.oracle.truffle.llvm.runtime.LLVMFunctionCode.$assertionsDisabled:Z
ifne 12
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignConstructorCallTarget:Lcom/oracle/truffle/api/CallTarget;
ifnonnull 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 5 end local 4 end local 3 end local 2 12: StackMap locals: com.oracle.truffle.llvm.runtime.LLVMFunctionCode com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.foreignConstructorCallTarget:Lcom/oracle/truffle/api/CallTarget;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 13 1 functionDescriptor Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
3 12 2 language Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
4 12 3 sourceType Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceFunctionType;
5 12 4 interopType Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
6 12 5 extractedType Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
8 11 6 structured Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType$Structured;
10 11 7 foreignCall Lcom/oracle/truffle/llvm/runtime/interop/LLVMForeignCallNode;
MethodParameters:
Name Flags
functionDescriptor
private void setFunction(com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
dup_x1
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionFinal:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionDynamic:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
1: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.assumption:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.invalidate:()V
2: aload 0
invokestatic com.oracle.truffle.api.Truffle.getRuntime:()Lcom/oracle/truffle/api/TruffleRuntime;
invokeinterface com.oracle.truffle.api.TruffleRuntime.createAssumption:()Lcom/oracle/truffle/api/Assumption;
putfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.assumption:Lcom/oracle/truffle/api/Assumption;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
0 4 1 newFunction Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
MethodParameters:
Name Flags
newFunction
public com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function getFunction();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.api.CompilerDirectives.isPartialEvaluationConstant:(Ljava/lang/Object;)Z
ifeq 5
1: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.assumption:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifne 4
2: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
3: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionDynamic:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionFinal:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunctionCode.functionDynamic:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
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.LLVMFunctionCode.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/LLVMFunctionCode;
}
SourceFile: "LLVMFunctionCode.java"
NestMembers:
com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Intrinsic com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LLVMIRFunction com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LazyLLVMIRFunction com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LazyToTruffleConverter com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction com.oracle.truffle.llvm.runtime.LLVMFunctionCode$NativeFunction com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode com.oracle.truffle.llvm.runtime.LLVMFunctionCode$UnresolvedFunction
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract Function = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public final Intrinsic = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Intrinsic of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public final IntrinsicFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$IntrinsicFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public final LLVMIRFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LLVMIRFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public final LazyLLVMIRFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LazyLLVMIRFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public abstract LazyToTruffleConverter = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$LazyToTruffleConverter of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
abstract ManagedFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ManagedFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public final NativeFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$NativeFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public abstract ResolveFunctionNode = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$ResolveFunctionNode of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public final UnresolvedFunction = com.oracle.truffle.llvm.runtime.LLVMFunctionCode$UnresolvedFunction of com.oracle.truffle.llvm.runtime.LLVMFunctionCode
public Function = com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Function of com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType
public abstract Structured = com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Structured of com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType
public final Value = com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType$Value of com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType