public class org.graalvm.compiler.core.test.CountedLoopTest 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.core.test.CountedLoopTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/core/test/CountedLoopTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.core.test.CountedLoopTest.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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/core/test/CountedLoopTest;
private static int get(org.graalvm.compiler.core.test.CountedLoopTest$IVProperty, int);
descriptor: (Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 property Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
0 1 1 iv I
MethodParameters:
Name Flags
property
iv
public static org.graalvm.compiler.core.test.CountedLoopTest$Result incrementSnippet(int, int, int);
descriptor: (III)Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
isub
ldc 65535
iand
iconst_1
iadd
istore 4
start local 4 1: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 5
start local 5 2: iload 0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int org.graalvm.compiler.core.test.CountedLoopTest$Result
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
6: iload 3
iload 4
iadd
istore 3
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 4
8: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
9: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 start I
0 10 1 limit I
0 10 2 step I
3 10 3 i I
1 10 4 inc I
2 10 5 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
MethodParameters:
Name Flags
start
limit
step
public void increment1();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void increment2();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void increment3();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.core.test.CountedLoopTest$Result incrementEqSnippet(int, int, int);
descriptor: (III)Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
isub
ldc 65535
iand
iconst_1
iadd
istore 4
start local 4 1: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 5
start local 5 2: iload 0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int org.graalvm.compiler.core.test.CountedLoopTest$Result
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
6: iload 3
iload 4
iadd
istore 3
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmple 4
8: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
9: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 start I
0 10 1 limit I
0 10 2 step I
3 10 3 i I
1 10 4 inc I
2 10 5 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
MethodParameters:
Name Flags
start
limit
step
public void incrementEq1();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void incrementEq2();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void incrementEq3();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.core.test.CountedLoopTest$Result decrementSnippet(int, int, int);
descriptor: (III)Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
isub
ldc 65535
iand
iconst_1
iadd
istore 4
start local 4 1: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 5
start local 5 2: iload 0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int org.graalvm.compiler.core.test.CountedLoopTest$Result
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
6: iload 3
iload 4
isub
istore 3
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmpgt 4
8: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
9: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 start I
0 10 1 limit I
0 10 2 step I
3 10 3 i I
1 10 4 dec I
2 10 5 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
MethodParameters:
Name Flags
start
limit
step
public void decrement1();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void decrement2();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void decrement3();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.core.test.CountedLoopTest$Result decrementEqSnippet(int, int, int);
descriptor: (III)Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
isub
ldc 65535
iand
iconst_1
iadd
istore 4
start local 4 1: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 5
start local 5 2: iload 0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int org.graalvm.compiler.core.test.CountedLoopTest$Result
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
6: iload 3
iload 4
isub
istore 3
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmpge 4
8: aload 5
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 3
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
9: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 start I
0 10 1 limit I
0 10 2 step I
3 10 3 i I
1 10 4 dec I
2 10 5 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
MethodParameters:
Name Flags
start
limit
step
public void decrementEq1();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void decrementEq2();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public void decrementEq3();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.core.test.CountedLoopTest$Result twoVariablesSnippet();
descriptor: ()Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=0
0: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 0
start local 0 1: iconst_0
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: org.graalvm.compiler.core.test.CountedLoopTest$Result int int
StackMap stack:
iinc 1 5
5: invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
6: aload 0
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 1
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
sipush 1024
if_icmplt 4
end local 2 9: aload 0
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 1
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
10: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
2 11 1 j I
3 9 2 i I
public void testTwoVariables();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins getDefaultGraphBuilderPlugins();
descriptor: ()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.getDefaultGraphBuilderPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
astore 1
start local 1 1: new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration
dup
aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
ldc Lorg/graalvm/compiler/core/test/CountedLoopTest;
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;Ljava/lang/reflect/Type;)V
astore 2
start local 2 2: aload 2
ldc "get"
ldc Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
new org.graalvm.compiler.core.test.CountedLoopTest$1
dup
aload 0
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$1.<init>:(Lorg/graalvm/compiler/core/test/CountedLoopTest;)V
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.register2:(Ljava/lang/String;Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;)V
3: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/test/CountedLoopTest;
1 4 1 plugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
2 4 2 r Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
protected boolean checkMidTierGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.loop.LoopsData
dup
aload 1
invokespecial org.graalvm.compiler.loop.LoopsData.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 2
start local 2 1: aload 2
invokevirtual org.graalvm.compiler.loop.LoopsData.detectedCountedLoops:()V
2: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/core/test/CountedLoopTest$IVPropertyNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.graalvm.compiler.core.test.CountedLoopTest org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.test.CountedLoopTest$IVPropertyNode
astore 3
start local 3 4: aload 3
aload 2
invokevirtual org.graalvm.compiler.core.test.CountedLoopTest$IVPropertyNode.rewrite:(Lorg/graalvm/compiler/loop/LoopsData;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: getstatic org.graalvm.compiler.core.test.CountedLoopTest.$assertionsDisabled:Z
ifne 7
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/core/test/CountedLoopTest$IVPropertyNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isEmpty:()Z
ifne 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: org.graalvm.compiler.core.test.CountedLoopTest org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.loop.LoopsData
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/core/test/CountedLoopTest;
0 8 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 8 2 loops Lorg/graalvm/compiler/loop/LoopsData;
4 5 3 node Lorg/graalvm/compiler/core/test/CountedLoopTest$IVPropertyNode;
MethodParameters:
Name Flags
graph
public static org.graalvm.compiler.core.test.CountedLoopTest$Result incrementNeqSnippet(int);
descriptor: (I)Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: iload 0
iconst_1
isub
ldc 65535
iand
iconst_1
iadd
istore 2
start local 2 1: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 3
start local 3 2: iconst_0
istore 1
start local 1 3: goto 7
4: StackMap locals: int int org.graalvm.compiler.core.test.CountedLoopTest$Result
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: aload 3
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 1
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
6: iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
iload 2
if_icmpne 4
8: aload 3
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 1
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 limit I
3 10 1 i I
1 10 2 posLimit I
2 10 3 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
MethodParameters:
Name Flags
limit
public void decrementNeq();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
public static org.graalvm.compiler.core.test.CountedLoopTest$Result decrementNeqSnippet(int);
descriptor: (I)Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: iload 0
iconst_1
isub
ldc 65535
iand
iconst_1
iadd
istore 2
start local 2 1: new org.graalvm.compiler.core.test.CountedLoopTest$Result
dup
invokespecial org.graalvm.compiler.core.test.CountedLoopTest$Result.<init>:()V
astore 3
start local 3 2: iload 2
istore 1
start local 1 3: goto 7
4: StackMap locals: int int org.graalvm.compiler.core.test.CountedLoopTest$Result
StackMap stack:
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.controlFlowAnchor:()V
5: aload 3
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.extremumNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 1
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.extremum:I
6: iinc 1 -1
StackMap locals:
StackMap stack:
7: iload 1
ifne 4
8: aload 3
invokedynamic get()Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
org/graalvm/compiler/loop/InductionVariable.exitValueNode()Lorg/graalvm/compiler/nodes/ValueNode; (5)
(Lorg/graalvm/compiler/loop/InductionVariable;)Lorg/graalvm/compiler/nodes/ValueNode;
iload 1
invokestatic org.graalvm.compiler.core.test.CountedLoopTest.get:(Lorg/graalvm/compiler/core/test/CountedLoopTest$IVProperty;I)I
putfield org.graalvm.compiler.core.test.CountedLoopTest$Result.exitValue:I
9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 limit I
3 10 1 i I
1 10 2 posLimit I
2 10 3 ret Lorg/graalvm/compiler/core/test/CountedLoopTest$Result;
MethodParameters:
Name Flags
limit
public void incrementNeq();
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/core/test/CountedLoopTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "CountedLoopTest.java"
NestMembers:
org.graalvm.compiler.core.test.CountedLoopTest$1 org.graalvm.compiler.core.test.CountedLoopTest$IVProperty org.graalvm.compiler.core.test.CountedLoopTest$IVPropertyNode org.graalvm.compiler.core.test.CountedLoopTest$Result
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.graalvm.compiler.core.test.CountedLoopTest$1
private abstract IVProperty = org.graalvm.compiler.core.test.CountedLoopTest$IVProperty of org.graalvm.compiler.core.test.CountedLoopTest
private IVPropertyNode = org.graalvm.compiler.core.test.CountedLoopTest$IVPropertyNode of org.graalvm.compiler.core.test.CountedLoopTest
private Result = org.graalvm.compiler.core.test.CountedLoopTest$Result of org.graalvm.compiler.core.test.CountedLoopTest
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
public Registration = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins