public class org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp extends org.graalvm.compiler.lir.amd64.AMD64BlockEndOp
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp
super_class: org.graalvm.compiler.lir.amd64.AMD64BlockEndOp
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp> TYPE;
descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;>;
protected final jdk.vm.ci.meta.Constant[] keyConstants;
descriptor: [Ljdk/vm/ci/meta/Constant;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.graalvm.compiler.lir.LabelRef[] keyTargets;
descriptor: [Lorg/graalvm/compiler/lir/LabelRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.lir.LabelRef defaultTarget;
descriptor: Lorg/graalvm/compiler/lir/LabelRef;
flags: (0x0002) ACC_PRIVATE
protected jdk.vm.ci.meta.Value key;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value scratch;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;, org.graalvm.compiler.lir.LIRInstruction$OperandFlag.ILLEGAL:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected final org.graalvm.compiler.lir.SwitchStrategy strategy;
descriptor: Lorg/graalvm/compiler/lir/SwitchStrategy;
flags: (0x0014) ACC_PROTECTED, 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/amd64/AMD64ControlFlow;
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.amd64.AMD64ControlFlow$StrategySwitchOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.lir.SwitchStrategy, org.graalvm.compiler.lir.LabelRef[], org.graalvm.compiler.lir.LabelRef, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
getstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
1: 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 2 0 this Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;
0 2 1 strategy Lorg/graalvm/compiler/lir/SwitchStrategy;
0 2 2 keyTargets [Lorg/graalvm/compiler/lir/LabelRef;
0 2 3 defaultTarget Lorg/graalvm/compiler/lir/LabelRef;
0 2 4 key Ljdk/vm/ci/meta/Value;
0 2 5 scratch Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
strategy
keyTargets
defaultTarget
key
scratch
protected void <init>(org.graalvm.compiler.lir.LIRInstructionClass<? extends org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp>, org.graalvm.compiler.lir.SwitchStrategy, org.graalvm.compiler.lir.LabelRef[], org.graalvm.compiler.lir.LabelRef, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstructionClass;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
invokespecial org.graalvm.compiler.lir.amd64.AMD64BlockEndOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: aload 0
aload 2
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.strategy:Lorg/graalvm/compiler/lir/SwitchStrategy;
2: aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.SwitchStrategy.getKeyConstants:()[Ljdk/vm/ci/meta/Constant;
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.keyTargets:[Lorg/graalvm/compiler/lir/LabelRef;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.key:Ljdk/vm/ci/meta/Value;
6: aload 0
aload 6
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.scratch:Ljdk/vm/ci/meta/Value;
7: getstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
arraylength
aload 3
arraylength
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp org.graalvm.compiler.lir.LIRInstructionClass org.graalvm.compiler.lir.SwitchStrategy org.graalvm.compiler.lir.LabelRef[] org.graalvm.compiler.lir.LabelRef jdk.vm.ci.meta.Value jdk.vm.ci.meta.Value
StackMap stack:
getstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.$assertionsDisabled:Z
ifne 9
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
arraylength
aload 2
getfield org.graalvm.compiler.lir.SwitchStrategy.keyProbabilities:[D
arraylength
if_icmpeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
return
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 10 0 this Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;
0 10 1 c Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;>;
0 10 2 strategy Lorg/graalvm/compiler/lir/SwitchStrategy;
0 10 3 keyTargets [Lorg/graalvm/compiler/lir/LabelRef;
0 10 4 defaultTarget Lorg/graalvm/compiler/lir/LabelRef;
0 10 5 key Ljdk/vm/ci/meta/Value;
0 10 6 scratch Ljdk/vm/ci/meta/Value;
Signature: (Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;>;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
MethodParameters:
Name Flags
c
strategy
keyTargets
defaultTarget
key
scratch
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.strategy:Lorg/graalvm/compiler/lir/SwitchStrategy;
new org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp$SwitchClosure
dup
aload 0
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp.key:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
aload 1
aload 2
invokespecial org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp$SwitchClosure.<init>:(Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$StrategySwitchOp;Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
invokevirtual org.graalvm.compiler.lir.SwitchStrategy.run:(Lorg/graalvm/compiler/lir/SwitchStrategy$SwitchClosure;)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/amd64/AMD64ControlFlow$StrategySwitchOp;
0 2 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 2 2 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
MethodParameters:
Name Flags
crb final
masm final
}
SourceFile: "AMD64ControlFlow.java"
NestHost: org.graalvm.compiler.lir.amd64.AMD64ControlFlow
InnerClasses:
public abstract Alive = org.graalvm.compiler.lir.LIRInstruction$Alive of org.graalvm.compiler.lir.LIRInstruction
public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public abstract Temp = org.graalvm.compiler.lir.LIRInstruction$Temp of org.graalvm.compiler.lir.LIRInstruction
public StrategySwitchOp = org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp of org.graalvm.compiler.lir.amd64.AMD64ControlFlow
public SwitchClosure = org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp$SwitchClosure of org.graalvm.compiler.lir.amd64.AMD64ControlFlow$StrategySwitchOp
private abstract SwitchClosure = org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure of org.graalvm.compiler.lir.SwitchStrategy