abstract class org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy extends org.graalvm.compiler.lir.SwitchStrategy
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy
super_class: org.graalvm.compiler.lir.SwitchStrategy
{
protected final jdk.vm.ci.meta.JavaConstant[] keyConstants;
descriptor: [Ljdk/vm/ci/meta/JavaConstant;
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/SwitchStrategy;
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.SwitchStrategy$PrimitiveStrategy.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(double[], jdk.vm.ci.meta.JavaConstant[]);
descriptor: ([D[Ljdk/vm/ci/meta/JavaConstant;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.graalvm.compiler.lir.SwitchStrategy.<init>:([D)V
1: getstatic org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.$assertionsDisabled:Z
ifne 2
aload 1
arraylength
aload 2
arraylength
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy double[] jdk.vm.ci.meta.JavaConstant[]
StackMap stack:
aload 0
aload 2
putfield org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.keyConstants:[Ljdk/vm/ci/meta/JavaConstant;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/SwitchStrategy$PrimitiveStrategy;
0 4 1 keyProbabilities [D
0 4 2 keyConstants [Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
keyProbabilities
keyConstants
public jdk.vm.ci.meta.JavaConstant[] getKeyConstants();
descriptor: ()[Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.keyConstants:[Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/SwitchStrategy$PrimitiveStrategy;
protected int getSliceEnd(org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure, int);
descriptor: (Lorg/graalvm/compiler/lir/SwitchStrategy$SwitchClosure;I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: goto 3
2: StackMap locals: int
StackMap stack:
iinc 3 1
3: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.keyConstants:[Ljdk/vm/ci/meta/JavaConstant;
arraylength
iconst_1
isub
if_icmpge 4
aload 0
getfield org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.keyConstants:[Ljdk/vm/ci/meta/JavaConstant;
iload 3
iconst_1
iadd
aaload
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
aload 0
getfield org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.keyConstants:[Ljdk/vm/ci/meta/JavaConstant;
iload 3
aaload
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lconst_1
ladd
lcmp
ifne 4
aload 1
iload 3
iload 3
iconst_1
iadd
invokeinterface org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure.isSameTarget:(II)Z
ifne 2
4: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/SwitchStrategy$PrimitiveStrategy;
0 5 1 closure Lorg/graalvm/compiler/lir/SwitchStrategy$SwitchClosure;
0 5 2 pos I
1 5 3 slice I
MethodParameters:
Name Flags
closure
pos
public jdk.vm.ci.meta.Constant[] getKeyConstants();
descriptor: ()[Ljdk/vm/ci/meta/Constant;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy.getKeyConstants:()[Ljdk/vm/ci/meta/JavaConstant;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SwitchStrategy.java"
NestHost: org.graalvm.compiler.lir.SwitchStrategy
InnerClasses:
private abstract PrimitiveStrategy = org.graalvm.compiler.lir.SwitchStrategy$PrimitiveStrategy of org.graalvm.compiler.lir.SwitchStrategy
private abstract SwitchClosure = org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure of org.graalvm.compiler.lir.SwitchStrategy