public class org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest extends org.graalvm.compiler.core.test.GraalCompilerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
         0: .line 40
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/api/directives/test/ProbabilityDirectiveTest;

  protected void before(jdk.vm.ci.meta.ResolvedJavaMethod);
    descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
         0: .line 48
            aload 1 /* method */
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.reprofile:()V
         1: .line 49
            return
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/graalvm/compiler/api/directives/test/ProbabilityDirectiveTest;
            0    2     1  method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
    MethodParameters:
        Name  Flags
      method  

  public static int branchProbabilitySnippet(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int arg
         0: .line 52
            ldc 0.125
            iload 0 /* arg */
            ifle 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack: double
         1: iconst_0
      StackMap locals: int
      StackMap stack: double int
         2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
            ifeq 5
         3: .line 53
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         4: .line 54
            iconst_1
            ireturn
         5: .line 56
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         6: .line 57
            iconst_2
            ireturn
        end local 0 // int arg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0   arg  I
    MethodParameters:
      Name  Flags
      arg   

  public void testBranchProbability();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
         0: .line 61
            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 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/api/directives/test/ProbabilityDirectiveTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static int branchProbabilitySnippet2(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int arg
         0: .line 67
            ldc 0.125
            iload 0 /* arg */
            ifgt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack: double
         1: iconst_0
      StackMap locals: int
      StackMap stack: double int
         2: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.injectBranchProbability:(DZ)Z
            ifne 5
         3: .line 68
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         4: .line 69
            iconst_2
            ireturn
         5: .line 71
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         6: .line 72
            iconst_1
            ireturn
        end local 0 // int arg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0   arg  I
    MethodParameters:
      Name  Flags
      arg   

  public void testBranchProbability2();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
         0: .line 76
            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 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/api/directives/test/ProbabilityDirectiveTest;
    RuntimeInvisibleAnnotations: 
      Test()

  protected void checkLowTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
         0: .line 84
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/api/directives/test/ProbabilityDirectiveTest;
    MethodParameters:
       Name  Flags
      graph  

  private static int returnValue(org.graalvm.compiler.nodes.AbstractBeginNode);
    descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // org.graalvm.compiler.nodes.AbstractBeginNode b
         0: .line 98
            aload 0 /* b */
            invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
            checkcast org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode
            astore 1 /* anchor */
        start local 1 // org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode anchor
         1: .line 99
            aload 1 /* anchor */
            invokevirtual org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
            checkcast org.graalvm.compiler.nodes.ReturnNode
            astore 2 /* returnNode */
        start local 2 // org.graalvm.compiler.nodes.ReturnNode returnNode
         2: .line 100
            aload 2 /* returnNode */
            invokevirtual org.graalvm.compiler.nodes.ReturnNode.result:()Lorg/graalvm/compiler/nodes/ValueNode;
            invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
            invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
            ireturn
        end local 2 // org.graalvm.compiler.nodes.ReturnNode returnNode
        end local 1 // org.graalvm.compiler.nodes.debug.ControlFlowAnchorNode anchor
        end local 0 // org.graalvm.compiler.nodes.AbstractBeginNode b
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0           b  Lorg/graalvm/compiler/nodes/AbstractBeginNode;
            1    3     1      anchor  Lorg/graalvm/compiler/nodes/debug/ControlFlowAnchorNode;
            2    3     2  returnNode  Lorg/graalvm/compiler/nodes/ReturnNode;
    MethodParameters:
      Name  Flags
      b     
}
SourceFile: "ProbabilityDirectiveTest.java"