public final class jdk.vm.ci.code.Register implements java.lang.Comparable<jdk.vm.ci.code.Register>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.code.Register
super_class: java.lang.Object
{
public static final jdk.vm.ci.code.Register$RegisterCategory SPECIAL;
descriptor: Ljdk/vm/ci/code/Register$RegisterCategory;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final jdk.vm.ci.code.Register None;
descriptor: Ljdk/vm/ci/code/Register;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public final int number;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int encoding;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final jdk.vm.ci.code.Register$RegisterCategory registerCategory;
descriptor: Ljdk/vm/ci/code/Register$RegisterCategory;
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=6, locals=0, args_size=0
0: ldc Ljdk/vm/ci/code/Register;
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 jdk.vm.ci.code.Register.$assertionsDisabled:Z
3: new jdk.vm.ci.code.Register$RegisterCategory
dup
ldc "SPECIAL"
invokespecial jdk.vm.ci.code.Register$RegisterCategory.<init>:(Ljava/lang/String;)V
putstatic jdk.vm.ci.code.Register.SPECIAL:Ljdk/vm/ci/code/Register$RegisterCategory;
4: new jdk.vm.ci.code.Register
dup
iconst_m1
iconst_m1
ldc "noreg"
getstatic jdk.vm.ci.code.Register.SPECIAL:Ljdk/vm/ci/code/Register$RegisterCategory;
invokespecial jdk.vm.ci.code.Register.<init>:(IILjava/lang/String;Ljdk/vm/ci/code/Register$RegisterCategory;)V
putstatic jdk.vm.ci.code.Register.None:Ljdk/vm/ci/code/Register;
return
LocalVariableTable:
Start End Slot Name Signature
public int encoding();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.Register.encoding:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
public void <init>(int, int, java.lang.String, jdk.vm.ci.code.Register$RegisterCategory);
descriptor: (IILjava/lang/String;Ljdk/vm/ci/code/Register$RegisterCategory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield jdk.vm.ci.code.Register.number:I
2: aload 0
aload 3
putfield jdk.vm.ci.code.Register.name:Ljava/lang/String;
3: aload 0
aload 4
putfield jdk.vm.ci.code.Register.registerCategory:Ljdk/vm/ci/code/Register$RegisterCategory;
4: aload 0
iload 2
putfield jdk.vm.ci.code.Register.encoding:I
5: return
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 Ljdk/vm/ci/code/Register;
0 6 1 number I
0 6 2 encoding I
0 6 3 name Ljava/lang/String;
0 6 4 registerCategory Ljdk/vm/ci/code/Register$RegisterCategory;
MethodParameters:
Name Flags
number
encoding
name
registerCategory
public jdk.vm.ci.code.Register$RegisterCategory getRegisterCategory();
descriptor: ()Ljdk/vm/ci/code/Register$RegisterCategory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.Register.registerCategory:Ljdk/vm/ci/code/Register$RegisterCategory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
public boolean mayContainReference();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.Register.registerCategory:Ljdk/vm/ci/code/Register$RegisterCategory;
getfield jdk.vm.ci.code.Register$RegisterCategory.mayContainReference:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
public jdk.vm.ci.code.RegisterValue asValue(jdk.vm.ci.meta.ValueKind<?>);
descriptor: (Ljdk/vm/ci/meta/ValueKind;)Ljdk/vm/ci/code/RegisterValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.vm.ci.code.RegisterValue
dup
aload 1
aload 0
invokespecial jdk.vm.ci.code.RegisterValue.<init>:(Ljdk/vm/ci/meta/ValueKind;Ljdk/vm/ci/code/Register;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
0 1 1 kind Ljdk/vm/ci/meta/ValueKind<*>;
Signature: (Ljdk/vm/ci/meta/ValueKind<*>;)Ljdk/vm/ci/code/RegisterValue;
MethodParameters:
Name Flags
kind
public jdk.vm.ci.code.RegisterValue asValue();
descriptor: ()Ljdk/vm/ci/code/RegisterValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.vm.ci.meta.ValueKind.Illegal:Ljdk/vm/ci/meta/ValueKind;
invokevirtual jdk.vm.ci.code.Register.asValue:(Ljdk/vm/ci/meta/ValueKind;)Ljdk/vm/ci/code/RegisterValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
public boolean isValid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.Register.number: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 Ljdk/vm/ci/code/Register;
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
getfield jdk.vm.ci.code.Register.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
public int compareTo(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.vm.ci.code.Register.number:I
aload 1
getfield jdk.vm.ci.code.Register.number:I
if_icmpge 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.code.Register.number:I
aload 1
getfield jdk.vm.ci.code.Register.number:I
if_icmple 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/code/Register;
0 5 1 o Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 17
aload 0
getfield jdk.vm.ci.code.Register.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/Register;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.vm.ci.code.Register
ifeq 7
1: aload 1
checkcast jdk.vm.ci.code.Register
astore 2
start local 2 2: aload 0
getfield jdk.vm.ci.code.Register.number:I
aload 2
getfield jdk.vm.ci.code.Register.number:I
if_icmpne 7
3: getstatic jdk.vm.ci.code.Register.$assertionsDisabled:Z
ifne 4
aload 0
getfield jdk.vm.ci.code.Register.name:Ljava/lang/String;
aload 2
getfield jdk.vm.ci.code.Register.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: jdk.vm.ci.code.Register
StackMap stack:
getstatic jdk.vm.ci.code.Register.$assertionsDisabled:Z
ifne 5
aload 0
getfield jdk.vm.ci.code.Register.encoding:I
aload 2
getfield jdk.vm.ci.code.Register.encoding:I
if_icmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.code.Register.$assertionsDisabled:Z
ifne 6
aload 0
getfield jdk.vm.ci.code.Register.registerCategory:Ljdk/vm/ci/code/Register$RegisterCategory;
aload 2
getfield jdk.vm.ci.code.Register.registerCategory:Ljdk/vm/ci/code/Register$RegisterCategory;
invokevirtual jdk.vm.ci.code.Register$RegisterCategory.equals:(Ljava/lang/Object;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/vm/ci/code/Register;
0 8 1 obj Ljava/lang/Object;
2 7 2 other Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.vm.ci.code.Register
invokevirtual jdk.vm.ci.code.Register.compareTo:(Ljdk/vm/ci/code/Register;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Ljdk/vm/ci/code/Register;>;
SourceFile: "Register.java"
NestMembers:
jdk.vm.ci.code.Register$RegisterCategory
InnerClasses:
public RegisterCategory = jdk.vm.ci.code.Register$RegisterCategory of jdk.vm.ci.code.Register