class org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37 implements org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37
  super_class: java.lang.Object
{
  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37 this
         0: .line 1199
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/StandardGraphBuilderPlugins$37;

  public boolean apply(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin$Receiver);
    descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=4
        start local 0 // org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37 this
        start local 1 // org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext b
        start local 2 // jdk.vm.ci.meta.ResolvedJavaMethod targetMethod
        start local 3 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin$Receiver receiver
         0: .line 1202
            aload 1 /* b */
            invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getSpeculationLog:()Ljdk/vm/ci/meta/SpeculationLog;
            ifnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ldc "A speculation log is needed to use `deoptimizeAndInvalidateWithSpeculation`"
            invokestatic org.graalvm.compiler.debug.GraalError.guarantee:(ZLjava/lang/String;)V
         3: .line 1203
            new jdk.vm.ci.code.BytecodePosition
            dup
            aconst_null
            aload 1 /* b */
            invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
            aload 1 /* b */
            invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.bci:()I
            invokespecial jdk.vm.ci.code.BytecodePosition.<init>:(Ljdk/vm/ci/code/BytecodePosition;Ljdk/vm/ci/meta/ResolvedJavaMethod;I)V
            astore 4 /* pos */
        start local 4 // jdk.vm.ci.code.BytecodePosition pos
         4: .line 1204
            getstatic org.graalvm.compiler.replacements.StandardGraphBuilderPlugins.DIRECTIVE_SPECULATIONS:Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 4 /* pos */
            aastore
            invokevirtual org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.createSpeculationReason:([Ljava/lang/Object;)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
            astore 5 /* reason */
        start local 5 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason reason
         5: .line 1206
            aload 1 /* b */
            invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getSpeculationLog:()Ljdk/vm/ci/meta/SpeculationLog;
            aload 5 /* reason */
            invokeinterface jdk.vm.ci.meta.SpeculationLog.maySpeculate:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Z
            ifeq 8
         6: .line 1207
            aload 1 /* b */
            invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getSpeculationLog:()Ljdk/vm/ci/meta/SpeculationLog;
            aload 5 /* reason */
            invokeinterface jdk.vm.ci.meta.SpeculationLog.speculate:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Ljdk/vm/ci/meta/SpeculationLog$Speculation;
            astore 6 /* speculation */
        start local 6 // jdk.vm.ci.meta.SpeculationLog$Speculation speculation
         7: .line 1208
            goto 9
        end local 6 // jdk.vm.ci.meta.SpeculationLog$Speculation speculation
         8: .line 1209
      StackMap locals: jdk.vm.ci.code.BytecodePosition jdk.vm.ci.meta.SpeculationLog$SpeculationReason
      StackMap stack:
            getstatic jdk.vm.ci.meta.SpeculationLog.NO_SPECULATION:Ljdk/vm/ci/meta/SpeculationLog$Speculation;
            astore 6 /* speculation */
        start local 6 // jdk.vm.ci.meta.SpeculationLog$Speculation speculation
         9: .line 1211
      StackMap locals: jdk.vm.ci.meta.SpeculationLog$Speculation
      StackMap stack:
            aload 1 /* b */
            new org.graalvm.compiler.nodes.DeoptimizeNode
            dup
            getstatic jdk.vm.ci.meta.DeoptimizationAction.InvalidateReprofile:Ljdk/vm/ci/meta/DeoptimizationAction;
            getstatic jdk.vm.ci.meta.DeoptimizationReason.TransferToInterpreter:Ljdk/vm/ci/meta/DeoptimizationReason;
            aload 6 /* speculation */
            invokespecial org.graalvm.compiler.nodes.DeoptimizeNode.<init>:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;Ljdk/vm/ci/meta/SpeculationLog$Speculation;)V
            invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.add:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
            pop
        10: .line 1212
            iconst_1
            ireturn
        end local 6 // jdk.vm.ci.meta.SpeculationLog$Speculation speculation
        end local 5 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason reason
        end local 4 // jdk.vm.ci.code.BytecodePosition pos
        end local 3 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin$Receiver receiver
        end local 2 // jdk.vm.ci.meta.ResolvedJavaMethod targetMethod
        end local 1 // org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext b
        end local 0 // org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37 this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lorg/graalvm/compiler/replacements/StandardGraphBuilderPlugins$37;
            0   11     1             b  Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
            0   11     2  targetMethod  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            0   11     3      receiver  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;
            4   11     4           pos  Ljdk/vm/ci/code/BytecodePosition;
            5   11     5        reason  Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
            7    8     6   speculation  Ljdk/vm/ci/meta/SpeculationLog$Speculation;
            9   11     6   speculation  Ljdk/vm/ci/meta/SpeculationLog$Speculation;
    MethodParameters:
              Name  Flags
      b             
      targetMethod  
      receiver      
}
SourceFile: "StandardGraphBuilderPlugins.java"
EnclosingMethod: org.graalvm.compiler.replacements.StandardGraphBuilderPlugins.registerGraalDirectivesPlugins:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
NestHost: org.graalvm.compiler.replacements.StandardGraphBuilderPlugins
InnerClasses:
  public Speculation = jdk.vm.ci.meta.SpeculationLog$Speculation of jdk.vm.ci.meta.SpeculationLog
  public abstract SpeculationReason = jdk.vm.ci.meta.SpeculationLog$SpeculationReason of jdk.vm.ci.meta.SpeculationLog
  public abstract Receiver = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin$Receiver of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin
  org.graalvm.compiler.replacements.StandardGraphBuilderPlugins$37