public final class org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase extends org.graalvm.compiler.lir.phases.AllocationPhase
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase
super_class: org.graalvm.compiler.lir.phases.AllocationPhase
{
private static final org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase TRACE_GLOBAL_MOVE_RESOLUTION_PHASE;
descriptor: Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.debug.DebugCounter tracesCounter;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.debug.DebugCounter globalStackSlots;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.debug.DebugCounter allocatedStackSlots;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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=2, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPhase;
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.alloc.trace.TraceRegisterAllocationPhase.$assertionsDisabled:Z
3: new org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase
dup
invokespecial org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.<init>:()V
putstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.TRACE_GLOBAL_MOVE_RESOLUTION_PHASE:Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase;
4: ldc "TraceRA[traces]"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.tracesCounter:Lorg/graalvm/compiler/debug/DebugCounter;
5: ldc "TraceRA[GlobalStackSlots]"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.globalStackSlots:Lorg/graalvm/compiler/debug/DebugCounter;
6: ldc "TraceRA[AllocatedStackSlots]"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.allocatedStackSlots:Lorg/graalvm/compiler/debug/DebugCounter;
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 org.graalvm.compiler.lir.phases.AllocationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPhase;
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/AllocationPhase$AllocationContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=22, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext.spillMoveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
astore 4
start local 4 1: aload 3
getfield org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext.registerAllocationConfig:Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
astore 5
start local 5 2: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 6
start local 6 3: getstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.$assertionsDisabled:Z
ifne 4
aload 6
invokestatic org.graalvm.compiler.lir.ssi.SSIVerifier.verify:(Lorg/graalvm/compiler/lir/LIR;)Z
ifne 4
new java.lang.AssertionError
dup
ldc "LIR not in SSI form."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR
StackMap stack:
aload 3
ldc Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
invokevirtual org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext.contextLookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.alloc.TraceBuilderResult
astore 7
start local 7 5: new org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext
dup
aload 4
aload 5
aload 7
invokespecial org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.<init>:(Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;)V
astore 8
start local 8 6: getstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase$Options.TraceRACacheStackSlots:Lorg/graalvm/compiler/options/StableOptionValue;
invokevirtual org.graalvm.compiler.options.StableOptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 7
aload 6
invokevirtual org.graalvm.compiler.lir.LIR.numVariables:()I
anewarray jdk.vm.ci.meta.AllocatableValue
goto 8
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: jdk.vm.ci.meta.AllocatableValue[]
8: astore 9
start local 9 9: iconst_0
istore 10
start local 10 10: aload 1
aload 2
aload 4
aload 5
aload 9
11: aload 7
iload 10
12: invokestatic org.graalvm.compiler.lir.alloc.trace.DefaultTraceRegisterAllocationPolicy.allocationPolicy:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;[Ljdk/vm/ci/meta/AllocatableValue;Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Z)Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy;
astore 11
start local 11 13: iconst_2
aload 6
ldc "Before TraceRegisterAllocation"
invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;)V
14: aconst_null
astore 12
aconst_null
astore 13
15: ldc "AllocateTraces"
aload 7
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 14
start local 14 16: aload 7
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraces:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 16
goto 35
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext jdk.vm.ci.meta.AllocatableValue[] int org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope top java.util.Iterator
StackMap stack:
17: aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.alloc.Trace
astore 15
start local 15 18: getstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.tracesCounter:Lorg/graalvm/compiler/debug/DebugCounter;
invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
19: aload 11
aload 15
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.selectStrategy:(Lorg/graalvm/compiler/core/common/alloc/Trace;)Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase;
astore 17
start local 17 20: aconst_null
astore 18
aconst_null
astore 19
21: ldc "Allocating Trace%d: %s (%s)"
aload 15
invokevirtual org.graalvm.compiler.core.common.alloc.Trace.getId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 15
aload 17
invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 20
start local 20 22: ldc "AllocateTrace"
aload 15
invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
astore 21
start local 21 23: aload 17
aload 1
aload 2
aload 15
aload 8
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase.apply:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/core/common/alloc/Trace;Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;)V
24: aload 21
ifnull 27
aload 21
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
goto 27
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext jdk.vm.ci.meta.AllocatableValue[] int org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope org.graalvm.compiler.core.common.alloc.Trace java.util.Iterator org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.debug.Debug$Scope
StackMap stack: java.lang.Throwable
25: astore 18
aload 21
ifnull 26
aload 21
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 21 StackMap locals:
StackMap stack:
26: aload 18
athrow
StackMap locals:
StackMap stack:
27: aload 20
ifnull 35
aload 20
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 35
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 19
aload 18
ifnonnull 29
aload 19
astore 18
goto 30
StackMap locals:
StackMap stack:
29: aload 18
aload 19
if_acmpeq 30
aload 18
aload 19
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
30: aload 20
ifnull 31
aload 20
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 20 StackMap locals:
StackMap stack:
31: aload 18
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
32: astore 19
aload 18
ifnonnull 33
aload 19
astore 18
goto 34
StackMap locals:
StackMap stack:
33: aload 18
aload 19
if_acmpeq 34
aload 18
aload 19
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
34: aload 18
athrow
end local 17 end local 15 35: StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext jdk.vm.ci.meta.AllocatableValue[] int org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope top java.util.Iterator
StackMap stack:
aload 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
36: aload 14
ifnull 44
aload 14
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
goto 44
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext jdk.vm.ci.meta.AllocatableValue[] int org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
StackMap stack: java.lang.Throwable
37: astore 12
aload 14
ifnull 38
aload 14
invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
end local 14 StackMap locals:
StackMap stack:
38: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
39: astore 13
aload 12
ifnonnull 40
aload 13
astore 12
goto 41
StackMap locals:
StackMap stack:
40: aload 12
aload 13
if_acmpeq 41
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
41: aload 12
athrow
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext jdk.vm.ci.meta.AllocatableValue[] int org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy
StackMap stack: java.lang.Throwable
42: astore 12
start local 12 43: aload 12
invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 12 44: StackMap locals:
StackMap stack:
iconst_2
invokestatic org.graalvm.compiler.debug.Debug.isDumpEnabled:(I)Z
ifeq 47
45: aload 6
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.unnumberInstructions:(Lorg/graalvm/compiler/lir/LIR;)V
46: iconst_2
aload 6
ldc "After trace allocation"
invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;)V
47: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.TRACE_GLOBAL_MOVE_RESOLUTION_PHASE:Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase;
aload 1
aload 2
aload 8
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.apply:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Ljava/lang/Object;)V
48: aload 6
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.deconstructSSIForm:(Lorg/graalvm/compiler/lir/LIR;)V
49: return
end local 11 end local 10 end local 9 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 50 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPhase;
0 50 1 target Ljdk/vm/ci/code/TargetDescription;
0 50 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 50 3 context Lorg/graalvm/compiler/lir/phases/AllocationPhase$AllocationContext;
1 50 4 spillMoveFactory Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
2 50 5 registerAllocationConfig Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
3 50 6 lir Lorg/graalvm/compiler/lir/LIR;
5 50 7 resultTraces Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
6 50 8 traceContext Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;
9 50 9 cachedStackSlots [Ljdk/vm/ci/meta/AllocatableValue;
10 50 10 neverSpillConstant Z
13 50 11 plan Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy;
16 38 14 s0 Lorg/graalvm/compiler/debug/Debug$Scope;
18 35 15 trace Lorg/graalvm/compiler/core/common/alloc/Trace;
20 35 17 allocator Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase<Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;>;
22 31 20 i Lorg/graalvm/compiler/debug/Indent;
23 26 21 s Lorg/graalvm/compiler/debug/Debug$Scope;
43 44 12 e Ljava/lang/Throwable;
Exception table:
from to target type
23 24 25 any
22 27 28 any
21 32 32 any
16 36 37 any
15 39 39 any
14 42 42 Class java.lang.Throwable
MethodParameters:
Name Flags
target
lirGenRes
context
private static void deconstructSSIForm(org.graalvm.compiler.lir.LIR);
descriptor: (Lorg/graalvm/compiler/lir/LIR;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 16
StackMap locals: org.graalvm.compiler.lir.LIR top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aconst_null
astore 5
aconst_null
astore 6
3: ldc "Fixup Block %s"
aload 1
invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 7
start local 7 4: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessorCount:()I
ifeq 7
5: aload 0
aload 1
invokestatic org.graalvm.compiler.lir.ssi.SSIUtil.removeIncoming:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
6: goto 8
7: StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.$assertionsDisabled:Z
ifne 8
aload 0
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getStartBlock:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.graalvm.compiler.lir.ssi.SSIUtil.removeOutgoing:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
9: aload 7
ifnull 15
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 5
aload 7
ifnull 11
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 7 StackMap locals:
StackMap stack:
11: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 6
aload 5
ifnonnull 13
aload 6
astore 5
goto 14
StackMap locals:
StackMap stack:
13: aload 5
aload 6
if_acmpeq 14
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 5
athrow
end local 1 15: StackMap locals: org.graalvm.compiler.lir.LIR top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
16: iload 2
iload 3
if_icmplt 1
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 lir Lorg/graalvm/compiler/lir/LIR;
2 15 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
4 11 7 i Lorg/graalvm/compiler/debug/Indent;
Exception table:
from to target type
4 9 10 any
3 12 12 any
MethodParameters:
Name Flags
lir
private static void unnumberInstructions(org.graalvm.compiler.lir.LIR);
descriptor: (Lorg/graalvm/compiler/lir/LIR;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.graalvm.compiler.lir.LIR top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 5
start local 5 4: aload 5
iconst_m1
invokevirtual org.graalvm.compiler.lir.LIRInstruction.setId:(I)V
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 6: iinc 2 1
StackMap locals: org.graalvm.compiler.lir.LIR top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
7: iload 2
iload 3
if_icmplt 1
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lir Lorg/graalvm/compiler/lir/LIR;
2 6 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
4 5 5 op Lorg/graalvm/compiler/lir/LIRInstruction;
MethodParameters:
Name Flags
lir
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, java.lang.Object);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
checkcast org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase.run:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/AllocationPhase$AllocationContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TraceRegisterAllocationPhase.java"
NestMembers:
org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase$Options
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.Debug$Scope of org.graalvm.compiler.debug.Debug
public TraceAllocationContext = org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext of org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase
public Options = org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase$Options of org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase
public abstract MoveFactory = org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory of org.graalvm.compiler.lir.gen.LIRGeneratorTool
public final AllocationContext = org.graalvm.compiler.lir.phases.AllocationPhase$AllocationContext of org.graalvm.compiler.lir.phases.AllocationPhase