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 38
            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;

  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 41
            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 42
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         4: .line 43
            iconst_1
            ireturn
         5: .line 45
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         6: .line 46
            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 50
            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 56
            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 57
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         4: .line 58
            iconst_2
            ireturn
         5: .line 60
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
         6: .line 61
            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 65
            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 boolean checkLowTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
    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 73
            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 89
            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 90
            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 91
            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"