public class org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest
super_class: java.lang.Object
{
private static final jdk.vm.ci.code.Register$RegisterCategory CPU;
descriptor: Ljdk/vm/ci/code/Register$RegisterCategory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.vm.ci.code.Register r0;
descriptor: Ljdk/vm/ci/code/Register;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.vm.ci.code.Register r1;
descriptor: Ljdk/vm/ci/code/Register;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.core.common.LIRKind kind;
descriptor: Lorg/graalvm/compiler/core/common/LIRKind;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest$MoveResolverMock resolver;
descriptor: Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest$MoveResolverMock;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new jdk.vm.ci.code.Register$RegisterCategory
dup
ldc "CPU"
invokespecial jdk.vm.ci.code.Register$RegisterCategory.<init>:(Ljava/lang/String;)V
putstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.CPU:Ljdk/vm/ci/code/Register$RegisterCategory;
1: new jdk.vm.ci.code.Register
dup
iconst_0
iconst_0
ldc "r0"
getstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.CPU:Ljdk/vm/ci/code/Register$RegisterCategory;
invokespecial jdk.vm.ci.code.Register.<init>:(IILjava/lang/String;Ljdk/vm/ci/code/Register$RegisterCategory;)V
putstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.r0:Ljdk/vm/ci/code/Register;
2: new jdk.vm.ci.code.Register
dup
iconst_1
iconst_1
ldc "r1"
getstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.CPU:Ljdk/vm/ci/code/Register$RegisterCategory;
invokespecial jdk.vm.ci.code.Register.<init>:(IILjava/lang/String;Ljdk/vm/ci/code/Register$RegisterCategory;)V
putstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.r1:Ljdk/vm/ci/code/Register;
3: getstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest$DummyPlatformKind.Long:Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest$DummyPlatformKind;
invokestatic org.graalvm.compiler.core.common.LIRKind.value:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/LIRKind;
putstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.kind:Lorg/graalvm/compiler/core/common/LIRKind;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
public void setUp();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tBefore cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Before()
private void addMapping(jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
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.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.resolver:Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest$MoveResolverMock;
aload 1
aload 2
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
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/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
0 2 1 src Ljdk/vm/ci/meta/Value;
0 2 2 dst Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
src
dst
private static jdk.vm.ci.code.RegisterValue v(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)Ljdk/vm/ci/code/RegisterValue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.kind:Lorg/graalvm/compiler/core/common/LIRKind;
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 r Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
r
private static jdk.vm.ci.code.StackSlot s(int);
descriptor: (I)Ljdk/vm/ci/code/StackSlot;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.kind:Lorg/graalvm/compiler/core/common/LIRKind;
iload 0
ineg
iconst_1
invokestatic jdk.vm.ci.code.StackSlot.get:(Ljdk/vm/ci/meta/ValueKind;IZ)Ljdk/vm/ci/code/StackSlot;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 offset I
MethodParameters:
Name Flags
offset
private static org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue sd(jdk.vm.ci.code.Register, int);
descriptor: (Ljdk/vm/ci/code/Register;I)Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue
dup
aload 0
invokestatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.v:(Ljdk/vm/ci/code/Register;)Ljdk/vm/ci/code/RegisterValue;
iload 1
invokestatic org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest.s:(I)Ljdk/vm/ci/code/StackSlot;
invokespecial org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.<init>:(Ljdk/vm/ci/code/RegisterValue;Ljdk/vm/ci/meta/AllocatableValue;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 reg Ljdk/vm/ci/code/Register;
0 1 1 offset I
MethodParameters:
Name Flags
reg
offset
private void assertContains(jdk.vm.ci.meta.Value, jdk.vm.ci.meta.AllocatableValue);
descriptor: (Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method assertTrue(String, boolean) is undefined for the type TraceGlobalMoveResolutionMappingTest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
MethodParameters:
Name Flags
src
dst
private void assertSize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method assertEquals(String, int, int) is undefined for the type TraceGlobalMoveResolutionMappingTest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
MethodParameters:
Name Flags
expected
public void testReg2Reg0();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testReg2Reg1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStack2Stack0();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStack2Stack1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStack2Reg();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testReg2Stack();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testShadowed2Reg();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testReg2Shadowed0();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testReg2Shadowed1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStack2Shadowed0();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tIgnore cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStack2Shadowed0WorkArount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testStack2Shadowed1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testShadowed2Shadowed0();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testShadowed2Shadowed1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
public void testShadowed2Shadowed2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/test/alloc/trace/TraceGlobalMoveResolutionMappingTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "TraceGlobalMoveResolutionMappingTest.java"
NestMembers:
org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest$DummyPlatformKind org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest$MoveResolverMock
InnerClasses:
public RegisterCategory = jdk.vm.ci.code.Register$RegisterCategory of jdk.vm.ci.code.Register
public abstract MoveResolver = org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver of org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase
private final DummyPlatformKind = org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest$DummyPlatformKind of org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest
private final MoveResolverMock = org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest$MoveResolverMock of org.graalvm.compiler.lir.test.alloc.trace.TraceGlobalMoveResolutionMappingTest