public class org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation extends org.graalvm.compiler.asm.aarch64.AArch64Assembler$PatchableCodeAnnotation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation
super_class: org.graalvm.compiler.asm.aarch64.AArch64Assembler$PatchableCodeAnnotation
{
public final int operandSizeBits;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int offsetBits;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.graalvm.compiler.asm.aarch64.AArch64Assembler$Instruction instruction;
descriptor: Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$Instruction;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int shift;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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/aarch64/AArch64Assembler;
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.aarch64.AArch64Assembler$SingleInstructionAnnotation.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, org.graalvm.compiler.asm.aarch64.AArch64Assembler$Instruction, int, int, int);
descriptor: (ILorg/graalvm/compiler/asm/aarch64/AArch64Assembler$Instruction;III)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
invokespecial org.graalvm.compiler.asm.aarch64.AArch64Assembler$PatchableCodeAnnotation.<init>:(I)V
1: aload 0
iload 3
putfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.operandSizeBits:I
2: aload 0
iload 4
putfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.offsetBits:I
3: aload 0
iload 5
putfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.shift:I
4: aload 0
aload 2
putfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.instruction:Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$Instruction;
5: return
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 Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$SingleInstructionAnnotation;
0 6 1 instructionPosition I
0 6 2 instruction Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$Instruction;
0 6 3 operandSizeBits I
0 6 4 offsetBits I
0 6 5 shift I
MethodParameters:
Name Flags
instructionPosition
instruction
operandSizeBits
offsetBits
shift
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: ldc "SINGLE_INSTRUCTION"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$SingleInstructionAnnotation;
public void patch(int, int, byte[]);
descriptor: (II[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: getstatic org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.$assertionsDisabled:Z
ifne 2
iload 4
iconst_1
aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.shift:I
ishl
iconst_1
isub
iand
ifeq 2
new java.lang.AssertionError
dup
ldc "relative offset has incorrect alignment"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: int
StackMap stack:
iload 4
aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.shift:I
ishr
istore 4
3: getstatic org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.instruction:Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$Instruction;
getstatic org.graalvm.compiler.asm.aarch64.AArch64Assembler$Instruction.BL:Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$Instruction;
if_acmpeq 4
new java.lang.AssertionError
dup
ldc "trying to patch an unexpected instruction"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.operandSizeBits:I
iload 4
invokestatic org.graalvm.compiler.core.common.NumUtil.isSignedNbit:(II)Z
ldc "value too large to fit into space"
invokestatic org.graalvm.compiler.debug.GraalError.guarantee:(ZLjava/lang/String;)V
5: aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.operandSizeBits:I
istore 5
start local 5 6: aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.offsetBits:I
istore 6
start local 6 7: iconst_4
newarray 10
astore 7
start local 7 8: iconst_4
newarray 10
astore 8
start local 8 9: iconst_0
istore 9
start local 9 10: goto 20
11: StackMap locals: org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation int int byte[] int int int int[] int[] int
StackMap stack:
iload 6
bipush 8
if_icmplt 14
12: iinc 6 -8
13: goto 19
14: StackMap locals:
StackMap stack:
aload 8
iload 9
iload 6
iastore
15: bipush 8
iload 6
isub
iload 5
invokestatic java.lang.Math.min:(II)I
istore 10
start local 10 16: aload 7
iload 9
iload 10
iastore
17: iload 5
iload 10
isub
istore 5
18: iconst_0
istore 6
end local 10 19: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
20: iload 9
iconst_4
if_icmplt 11
end local 9 21: aload 3
aload 0
getfield org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation.instructionPosition:I
iload 4
aload 7
aload 8
invokestatic org.graalvm.compiler.asm.aarch64.AArch64Assembler$PatcherUtil.writeBitSequence:([BII[I[I)V
22: return
end local 8 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 23 0 this Lorg/graalvm/compiler/asm/aarch64/AArch64Assembler$SingleInstructionAnnotation;
0 23 1 codePos I
0 23 2 relative I
0 23 3 code [B
1 23 4 curValue I
6 23 5 bitsRemaining I
7 23 6 offsetRemaining I
8 23 7 bitsUsed [I
9 23 8 offsets [I
10 21 9 i I
16 19 10 bits I
MethodParameters:
Name Flags
codePos
relative
code
}
SourceFile: "AArch64Assembler.java"
NestHost: org.graalvm.compiler.asm.aarch64.AArch64Assembler
InnerClasses:
public final Instruction = org.graalvm.compiler.asm.aarch64.AArch64Assembler$Instruction of org.graalvm.compiler.asm.aarch64.AArch64Assembler
public abstract PatchableCodeAnnotation = org.graalvm.compiler.asm.aarch64.AArch64Assembler$PatchableCodeAnnotation of org.graalvm.compiler.asm.aarch64.AArch64Assembler
public PatcherUtil = org.graalvm.compiler.asm.aarch64.AArch64Assembler$PatcherUtil of org.graalvm.compiler.asm.aarch64.AArch64Assembler
public SingleInstructionAnnotation = org.graalvm.compiler.asm.aarch64.AArch64Assembler$SingleInstructionAnnotation of org.graalvm.compiler.asm.aarch64.AArch64Assembler