public final class com.oracle.truffle.llvm.runtime.LLVMFunction extends com.oracle.truffle.llvm.runtime.LLVMSymbol
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.runtime.LLVMFunction
super_class: com.oracle.truffle.llvm.runtime.LLVMSymbol
{
public static final com.oracle.truffle.llvm.runtime.LLVMFunction[] EMPTY;
descriptor: [Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final com.oracle.truffle.llvm.runtime.types.FunctionType type;
descriptor: Lcom/oracle/truffle/llvm/runtime/types/FunctionType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function function;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.Assumption fixedCodeAssumption;
descriptor: Lcom/oracle/truffle/api/Assumption;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.llvm.runtime.LLVMFunctionCode fixedCode;
descriptor: Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray com.oracle.truffle.llvm.runtime.LLVMFunction
putstatic com.oracle.truffle.llvm.runtime.LLVMFunction.EMPTY:[Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.llvm.runtime.LLVMFunction create(java.lang.String, com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function, com.oracle.truffle.llvm.runtime.types.FunctionType, int, int, boolean, java.lang.String);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/types/FunctionType;IIZLjava/lang/String;)Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new com.oracle.truffle.llvm.runtime.LLVMFunction
dup
aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
aload 6
invokespecial com.oracle.truffle.llvm.runtime.LLVMFunction.<init>:(Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/types/FunctionType;IIZLjava/lang/String;)V
areturn
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 1 0 name Ljava/lang/String;
0 1 1 function Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
0 1 2 type Lcom/oracle/truffle/llvm/runtime/types/FunctionType;
0 1 3 bitcodeID I
0 1 4 symbolIndex I
0 1 5 exported Z
0 1 6 path Ljava/lang/String;
MethodParameters:
Name Flags
name
function
type
bitcodeID
symbolIndex
exported
path
public void <init>(java.lang.String, com.oracle.truffle.llvm.runtime.LLVMFunctionCode$Function, com.oracle.truffle.llvm.runtime.types.FunctionType, int, int, boolean, java.lang.String);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;Lcom/oracle/truffle/llvm/runtime/types/FunctionType;IIZLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
iload 4
iload 5
iload 6
invokespecial com.oracle.truffle.llvm.runtime.LLVMSymbol.<init>:(Ljava/lang/String;IIZ)V
1: 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.LLVMFunction.fixedCodeAssumption:Lcom/oracle/truffle/api/Assumption;
2: aload 0
aload 3
putfield com.oracle.truffle.llvm.runtime.LLVMFunction.type:Lcom/oracle/truffle/llvm/runtime/types/FunctionType;
3: aload 0
aload 2
putfield com.oracle.truffle.llvm.runtime.LLVMFunction.function:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
4: aload 0
aload 7
putfield com.oracle.truffle.llvm.runtime.LLVMFunction.path:Ljava/lang/String;
5: return
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 6 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
0 6 1 name Ljava/lang/String;
0 6 2 function Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
0 6 3 type Lcom/oracle/truffle/llvm/runtime/types/FunctionType;
0 6 4 bitcodeID I
0 6 5 symbolIndex I
0 6 6 exported Z
0 6 7 path Ljava/lang/String;
MethodParameters:
Name Flags
name
function
type
bitcodeID
symbolIndex
exported
path
public java.lang.String getStringPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public com.oracle.truffle.llvm.runtime.types.FunctionType getType();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/types/FunctionType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.type:Lcom/oracle/truffle/llvm/runtime/types/FunctionType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
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
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.function:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode$Function;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public boolean isFunction();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
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/LLVMFunction;
public boolean isGlobalVariable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public boolean isAlias();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public com.oracle.truffle.llvm.runtime.LLVMFunction asFunction();
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
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public com.oracle.truffle.llvm.runtime.global.LLVMGlobal asGlobalVariable();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Function "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunction.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is not a global variable."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public com.oracle.truffle.api.Assumption getFixedCodeAssumption();
descriptor: ()Lcom/oracle/truffle/api/Assumption;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCodeAssumption:Lcom/oracle/truffle/api/Assumption;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
public com.oracle.truffle.llvm.runtime.LLVMFunctionCode getFixedCode();
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.LLVMFunction.fixedCode: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/LLVMFunction;
public void setValue(com.oracle.truffle.llvm.runtime.pointer.LLVMPointer);
descriptor: (Lcom/oracle/truffle/llvm/runtime/pointer/LLVMPointer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCodeAssumption:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
ifeq 13
1: aload 1
invokestatic com.oracle.truffle.llvm.runtime.pointer.LLVMManagedPointer.isInstance:(Ljava/lang/Object;)Z
ifeq 11
2: aload 1
invokestatic com.oracle.truffle.llvm.runtime.pointer.LLVMManagedPointer.cast:(Ljava/lang/Object;)Lcom/oracle/truffle/llvm/runtime/pointer/LLVMManagedPointer;
invokeinterface com.oracle.truffle.llvm.runtime.pointer.LLVMManagedPointer.getObject:()Ljava/lang/Object;
astore 2
start local 2 3: aload 2
instanceof com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
ifeq 11
4: aload 2
checkcast com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor
astore 3
start local 3 5: aload 3
invokevirtual com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor.getFunctionCode:()Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
astore 4
start local 4 6: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
ifnonnull 9
7: aload 0
aload 4
putfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
8: return
9: StackMap locals: java.lang.Object com.oracle.truffle.llvm.runtime.LLVMFunctionDescriptor com.oracle.truffle.llvm.runtime.LLVMFunctionCode
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
aload 4
if_acmpne 11
10: return
end local 4 end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCode:Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
12: aload 0
getfield com.oracle.truffle.llvm.runtime.LLVMFunction.fixedCodeAssumption:Lcom/oracle/truffle/api/Assumption;
invokeinterface com.oracle.truffle.api.Assumption.invalidate:()V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
0 14 1 pointer Lcom/oracle/truffle/llvm/runtime/pointer/LLVMPointer;
3 11 2 value Ljava/lang/Object;
5 11 3 descriptor Lcom/oracle/truffle/llvm/runtime/LLVMFunctionDescriptor;
6 11 4 code Lcom/oracle/truffle/llvm/runtime/LLVMFunctionCode;
MethodParameters:
Name Flags
pointer
}
SourceFile: "LLVMFunction.java"
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