public class org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest 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.OpaqueDirectiveTest
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 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
public static boolean booleanSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/ConstantNode;)
public static boolean opaqueBooleanSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_5
iconst_3
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.opaque:(I)I
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/calc/ConditionalNode;)
public void testBoolean();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: 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 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static int intSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 8
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/ConstantNode;)
public static int opaqueIntSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_5
iconst_3
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.opaque:(I)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/calc/AddNode;)
public void testInt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: 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 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static double doubleSnippet();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 8.0
dreturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/ConstantNode;)
public static double opaqueDoubleSnippet();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc 5.0
ldc 3.0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.opaque:(D)D
dadd
dreturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/calc/AddNode;)
public void testDouble();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: 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 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean objectSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$Dummy
dup
invokespecial org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$Dummy.<init>:()V
astore 0
start local 0 1: aload 0
ifnonnull 2
iconst_1
ireturn
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/ConstantNode;)
public static boolean opaqueObjectSnippet();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$Dummy
dup
invokespecial org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$Dummy.<init>:()V
astore 0
start local 0 1: aload 0
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.opaque:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 2
iconst_1
ireturn
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet(expectedReturnNode = Lorg/graalvm/compiler/nodes/calc/ConditionalNode;)
public void testObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: 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 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.phases.tiers.HighTierContext getDefaultHighTierContext();
descriptor: ()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.phases.tiers.HighTierContext
dup
aload 0
invokevirtual org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
aload 0
invokevirtual org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest.getDefaultGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.ALL:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
iconst_1
anewarray org.graalvm.compiler.phases.OptimisticOptimizations$Optimization
dup
iconst_0
getstatic org.graalvm.compiler.phases.OptimisticOptimizations$Optimization.RemoveNeverExecutedCode:Lorg/graalvm/compiler/phases/OptimisticOptimizations$Optimization;
aastore
invokevirtual org.graalvm.compiler.phases.OptimisticOptimizations.remove:([Lorg/graalvm/compiler/phases/OptimisticOptimizations$Optimization;)Lorg/graalvm/compiler/phases/OptimisticOptimizations;
invokespecial org.graalvm.compiler.phases.tiers.HighTierContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
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 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/api/directives/test/OpaqueDirectiveTest;
MethodParameters:
Name Flags
graph
}
SourceFile: "OpaqueDirectiveTest.java"
NestMembers:
org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$Dummy org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet
InnerClasses:
private Dummy = org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$Dummy of org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest
private abstract OpaqueSnippet = org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest$OpaqueSnippet of org.graalvm.compiler.api.directives.test.OpaqueDirectiveTest
public final Optimization = org.graalvm.compiler.phases.OptimisticOptimizations$Optimization of org.graalvm.compiler.phases.OptimisticOptimizations