public final class com.oracle.truffle.llvm.runtime.global.LLVMGlobal 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.global.LLVMGlobal
super_class: com.oracle.truffle.llvm.runtime.LLVMSymbol
{
private final com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceSymbol sourceSymbol;
descriptor: Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean readOnly;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final com.oracle.truffle.llvm.runtime.global.LLVMGlobal[] EMPTY;
descriptor: [Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.llvm.runtime.types.PointerType type;
descriptor: Lcom/oracle/truffle/llvm/runtime/types/PointerType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean interopTypeCached;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType interopType;
descriptor: Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
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.global.LLVMGlobal
putstatic com.oracle.truffle.llvm.runtime.global.LLVMGlobal.EMPTY:[Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.truffle.llvm.runtime.global.LLVMGlobal create(java.lang.String, com.oracle.truffle.llvm.runtime.types.PointerType, com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceSymbol, boolean, int, int, boolean);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/types/PointerType;Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;ZIIZ)Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
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: iload 4
ifge 2
1: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Invalid index for LLVM global: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
iload 5
ifge 4
3: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Invalid index for LLVM global: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
new com.oracle.truffle.llvm.runtime.global.LLVMGlobal
dup
aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokespecial com.oracle.truffle.llvm.runtime.global.LLVMGlobal.<init>:(Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/types/PointerType;Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;ZIIZ)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 5 0 name Ljava/lang/String;
0 5 1 type Lcom/oracle/truffle/llvm/runtime/types/PointerType;
0 5 2 sourceSymbol Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
0 5 3 readOnly Z
0 5 4 index I
0 5 5 id I
0 5 6 exported Z
MethodParameters:
Name Flags
name
type
sourceSymbol
readOnly
index
id
exported
public static com.oracle.truffle.llvm.runtime.global.LLVMGlobal createUnavailable(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.llvm.runtime.global.LLVMGlobal
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " (unavailable)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic com.oracle.truffle.llvm.runtime.types.PointerType.VOID:Lcom/oracle/truffle/llvm/runtime/types/PointerType;
aconst_null
iconst_1
iconst_m1
iconst_m1
iconst_0
invokespecial com.oracle.truffle.llvm.runtime.global.LLVMGlobal.<init>:(Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/types/PointerType;Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;ZIIZ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private void <init>(java.lang.String, com.oracle.truffle.llvm.runtime.types.PointerType, com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceSymbol, boolean, int, int, boolean);
descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/runtime/types/PointerType;Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;ZIIZ)V
flags: (0x0002) ACC_PRIVATE
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 6
iload 5
iload 7
invokespecial com.oracle.truffle.llvm.runtime.LLVMSymbol.<init>:(Ljava/lang/String;IIZ)V
1: aload 0
aload 1
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.name:Ljava/lang/String;
2: aload 0
aload 2
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.type:Lcom/oracle/truffle/llvm/runtime/types/PointerType;
3: aload 0
aload 3
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.sourceSymbol:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
4: aload 0
iload 4
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.readOnly:Z
5: aload 0
iconst_0
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.interopTypeCached:Z
6: aload 0
aconst_null
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.interopType:Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
7: 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 8 0 this Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
0 8 1 name Ljava/lang/String;
0 8 2 type Lcom/oracle/truffle/llvm/runtime/types/PointerType;
0 8 3 sourceSymbol Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
0 8 4 readOnly Z
0 8 5 globalIndex I
0 8 6 moduleId I
0 8 7 exported Z
MethodParameters:
Name Flags
name
type
sourceSymbol
readOnly
globalIndex
moduleId
exported
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.type:Lcom/oracle/truffle/llvm/runtime/types/PointerType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
public com.oracle.truffle.llvm.runtime.interop.access.LLVMInteropType getInteropType(com.oracle.truffle.llvm.runtime.LLVMContext);
descriptor: (Lcom/oracle/truffle/llvm/runtime/LLVMContext;)Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.interopTypeCached:Z
ifne 7
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.sourceSymbol:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
ifnull 3
aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.sourceSymbol:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
invokevirtual com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceSymbol.getType:()Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceType;
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: com.oracle.truffle.llvm.runtime.debug.type.LLVMSourceType
4: astore 2
start local 2 5: aload 0
aload 1
invokevirtual com.oracle.truffle.llvm.runtime.LLVMContext.getLanguage:()Lcom/oracle/truffle/llvm/runtime/LLVMLanguage;
aload 2
invokevirtual com.oracle.truffle.llvm.runtime.LLVMLanguage.getInteropType:(Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceType;)Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.interopType:Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
6: aload 0
iconst_1
putfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.interopTypeCached:Z
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.interopType:Lcom/oracle/truffle/llvm/runtime/interop/access/LLVMInteropType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
0 8 1 context Lcom/oracle/truffle/llvm/runtime/LLVMContext;
5 7 2 sourceType Lcom/oracle/truffle/llvm/runtime/debug/type/LLVMSourceType;
MethodParameters:
Name Flags
context
public java.lang.String getSourceName();
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.global.LLVMGlobal.sourceSymbol:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
ifnull 1
aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.sourceSymbol:Lcom/oracle/truffle/llvm/runtime/debug/scope/LLVMSourceSymbol;
invokevirtual com.oracle.truffle.llvm.runtime.debug.scope.LLVMSourceSymbol.getName:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.name:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
public com.oracle.truffle.llvm.runtime.types.Type getPointeeType();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.type:Lcom/oracle/truffle/llvm/runtime/types/PointerType;
invokevirtual com.oracle.truffle.llvm.runtime.types.PointerType.getPointeeType:()Lcom/oracle/truffle/llvm/runtime/types/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.readOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
public boolean isFunction();
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/global/LLVMGlobal;
public boolean isGlobalVariable();
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/global/LLVMGlobal;
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/global/LLVMGlobal;
public com.oracle.truffle.llvm.runtime.LLVMFunction asFunction();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/LLVMFunction;
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 "Global "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.truffle.llvm.runtime.global.LLVMGlobal.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is not a function."
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/global/LLVMGlobal;
public com.oracle.truffle.llvm.runtime.global.LLVMGlobal asGlobalVariable();
descriptor: ()Lcom/oracle/truffle/llvm/runtime/global/LLVMGlobal;
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/global/LLVMGlobal;
}
SourceFile: "LLVMGlobal.java"
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives