public class org.graalvm.compiler.lir.util.RegisterMap<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.util.RegisterMap
super_class: java.lang.Object
{
private final java.lang.Object[] values;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.code.Architecture architecture;
descriptor: Ljdk/vm/ci/code/Architecture;
flags: (0x0012) ACC_PRIVATE, 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/lir/util/RegisterMap;
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.lir.util.RegisterMap.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.code.Architecture);
descriptor: (Ljdk/vm/ci/code/Architecture;)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: getstatic org.graalvm.compiler.lir.util.RegisterMap.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic org.graalvm.compiler.lir.util.RegisterMap.checkArchitecture:(Ljdk/vm/ci/code/Architecture;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.lir.util.RegisterMap jdk.vm.ci.code.Architecture
StackMap stack:
aload 0
aload 1
invokevirtual jdk.vm.ci.code.Architecture.getRegisters:()Ljdk/vm/ci/code/RegisterArray;
invokevirtual jdk.vm.ci.code.RegisterArray.size:()I
anewarray java.lang.Object
putfield org.graalvm.compiler.lir.util.RegisterMap.values:[Ljava/lang/Object;
3: aload 0
aload 1
putfield org.graalvm.compiler.lir.util.RegisterMap.architecture:Ljdk/vm/ci/code/Architecture;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/util/RegisterMap<TT;>;
0 5 1 arch Ljdk/vm/ci/code/Architecture;
MethodParameters:
Name Flags
arch
public T get(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.util.RegisterMap.values:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.util.RegisterMap.index:(Ljdk/vm/ci/code/Register;)I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/util/RegisterMap<TT;>;
0 1 1 reg Ljdk/vm/ci/code/Register;
Signature: (Ljdk/vm/ci/code/Register;)TT;
MethodParameters:
Name Flags
reg
public void remove(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.util.RegisterMap.values:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.util.RegisterMap.index:(Ljdk/vm/ci/code/Register;)I
aconst_null
aastore
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/util/RegisterMap<TT;>;
0 2 1 reg Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
reg
public void put(jdk.vm.ci.code.Register, );
descriptor: (Ljdk/vm/ci/code/Register;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.util.RegisterMap.values:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.util.RegisterMap.index:(Ljdk/vm/ci/code/Register;)I
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/util/RegisterMap<TT;>;
0 2 1 reg Ljdk/vm/ci/code/Register;
0 2 2 value TT;
Signature: (Ljdk/vm/ci/code/Register;TT;)V
MethodParameters:
Name Flags
reg
value
public void forEach(java.util.function.BiConsumer<? super jdk.vm.ci.code.Register, ? super T>);
descriptor: (Ljava/util/function/BiConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.util.RegisterMap.values:[Ljava/lang/Object;
iload 2
aaload
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 1
aload 0
getfield org.graalvm.compiler.lir.util.RegisterMap.architecture:Ljdk/vm/ci/code/Architecture;
invokevirtual jdk.vm.ci.code.Architecture.getRegisters:()Ljdk/vm/ci/code/RegisterArray;
iload 2
invokevirtual jdk.vm.ci.code.RegisterArray.get:(I)Ljdk/vm/ci/code/Register;
aload 3
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield org.graalvm.compiler.lir.util.RegisterMap.values:[Ljava/lang/Object;
arraylength
if_icmplt 2
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/util/RegisterMap<TT;>;
0 8 1 consumer Ljava/util/function/BiConsumer<-Ljdk/vm/ci/code/Register;-TT;>;
1 7 2 i I
3 5 3 value TT;
Signature: (Ljava/util/function/BiConsumer<-Ljdk/vm/ci/code/Register;-TT;>;)V
MethodParameters:
Name Flags
consumer
private static int index(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.Register.number:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 reg Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
reg
private static boolean checkArchitecture(jdk.vm.ci.code.Architecture);
descriptor: (Ljdk/vm/ci/code/Architecture;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.vm.ci.code.Architecture.getRegisters:()Ljdk/vm/ci/code/RegisterArray;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: jdk.vm.ci.code.RegisterArray int
StackMap stack:
getstatic org.graalvm.compiler.lir.util.RegisterMap.$assertionsDisabled:Z
ifne 4
aload 1
iload 2
invokevirtual jdk.vm.ci.code.RegisterArray.get:(I)Ljdk/vm/ci/code/Register;
getfield jdk.vm.ci.code.Register.number:I
iload 2
if_icmpeq 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
iload 2
invokevirtual jdk.vm.ci.code.RegisterArray.get:(I)Ljdk/vm/ci/code/Register;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 2
invokevirtual jdk.vm.ci.code.RegisterArray.get:(I)Ljdk/vm/ci/code/Register;
getfield jdk.vm.ci.code.Register.number:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "!="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
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:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
invokevirtual jdk.vm.ci.code.RegisterArray.size:()I
if_icmplt 3
end local 2 6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 arch Ljdk/vm/ci/code/Architecture;
1 7 1 registers Ljdk/vm/ci/code/RegisterArray;
2 6 2 i I
MethodParameters:
Name Flags
arch
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "RegisterMap.java"