public final class org.graalvm.compiler.asm.Label
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.asm.Label
super_class: java.lang.Object
{
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int blockId;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<java.lang.Integer> patchPositions;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/Integer;>;
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=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/asm/Label;
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 org.graalvm.compiler.asm.Label.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public int position();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.asm.Label.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.asm.Label.position:I
ifge 1
new java.lang.AssertionError
dup
ldc "Unbound label is being referenced"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Label.position:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/asm/Label;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.graalvm.compiler.asm.Label.position:I
2: aload 0
iconst_m1
putfield org.graalvm.compiler.asm.Label.blockId:I
3: aload 0
aconst_null
putfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/asm/Label;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.graalvm.compiler.asm.Label.position:I
2: aload 0
iconst_m1
putfield org.graalvm.compiler.asm.Label.blockId:I
3: aload 0
aconst_null
putfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
4: aload 0
iload 1
putfield org.graalvm.compiler.asm.Label.blockId:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/asm/Label;
0 6 1 id I
MethodParameters:
Name Flags
id
public int getBlockId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.asm.Label.blockId:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/Label;
protected void bind(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.compiler.asm.Label.position:I
1: getstatic org.graalvm.compiler.asm.Label.$assertionsDisabled:Z
ifne 2
aload 0
invokevirtual org.graalvm.compiler.asm.Label.isBound:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Label;
0 3 1 pos I
MethodParameters:
Name Flags
pos
public boolean isBound();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.asm.Label.position:I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/asm/Label;
public void addPatchAt(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.asm.Label.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.asm.Label.isBound:()Z
ifeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Label is already bound "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " at position "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.asm.Label.position:I
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
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
ifnonnull 3
2: aload 0
new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/asm/Label;
0 5 1 branchLocation I
MethodParameters:
Name Flags
branchLocation
protected void patchInstructions(org.graalvm.compiler.asm.Assembler);
descriptor: (Lorg/graalvm/compiler/asm/Assembler;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.asm.Label.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.asm.Label.isBound:()Z
ifne 1
new java.lang.AssertionError
dup
ldc "Label should be bound"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
ifnull 9
2: aload 0
getfield org.graalvm.compiler.asm.Label.position:I
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 6: aload 1
iload 4
iload 2
invokevirtual org.graalvm.compiler.asm.Assembler.patchJumpTarget:(II)V
end local 4 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 5
end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/asm/Label;
0 10 1 masm Lorg/graalvm/compiler/asm/Assembler;
3 9 2 target I
4 9 3 i I
6 7 4 pos I
MethodParameters:
Name Flags
masm
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.asm.Label.patchPositions:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
2: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield org.graalvm.compiler.asm.Label.position:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Label;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.asm.Label.isBound:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.asm.Label.position:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "?"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Label;
}
SourceFile: "Label.java"