final class com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled extends com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled
super_class: com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile
{
private static final byte UNINITIALIZED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte SPECIALIZED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte GENERIC;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private short cachedValue;
descriptor: S
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private byte state;
descriptor: B
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile.<init>:()V
1: aload 0
iconst_0
putfield com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled.state:B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/runtime/profiling/ShortValueProfile$Enabled;
public short profile(short);
descriptor: (S)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled.state:B
istore 2
start local 2 1: iload 2
iconst_2
if_icmpeq 12
2: iload 2
iconst_1
if_icmpne 6
3: aload 0
getfield com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled.cachedValue:S
istore 3
start local 3 4: iload 3
iload 1
if_icmpne 6
5: iload 3
ireturn
end local 3 6: StackMap locals: int
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
7: iload 2
ifne 11
8: aload 0
iload 1
putfield com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled.cachedValue:S
9: aload 0
iconst_1
putfield com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled.state:B
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled.state:B
12: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/runtime/profiling/ShortValueProfile$Enabled;
0 13 1 value S
1 13 2 localState B
4 6 3 v S
MethodParameters:
Name Flags
value
}
SourceFile: "ShortValueProfile.java"
NestHost: com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
final Enabled = com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile$Enabled of com.oracle.truffle.llvm.runtime.profiling.ShortValueProfile