public final class org.graalvm.compiler.graph.NodeStack
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.graph.NodeStack
super_class: java.lang.Object
{
private static final int INITIAL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
protected org.graalvm.compiler.graph.Node[] values;
descriptor: [Lorg/graalvm/compiler/graph/Node;
flags: (0x0004) ACC_PROTECTED
public int tos;
descriptor: I
flags: (0x0001) ACC_PUBLIC
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/graph/NodeStack;
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.graph.NodeStack.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 8
anewarray org.graalvm.compiler.graph.Node
putfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/graph/NodeStack;
public void push(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.graalvm.compiler.graph.NodeStack.tos:I
dup_x1
iconst_1
iadd
putfield org.graalvm.compiler.graph.NodeStack.tos:I
istore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
arraylength
istore 3
start local 3 2: iload 2
iload 3
if_icmplt 4
3: aload 0
invokevirtual org.graalvm.compiler.graph.NodeStack.grow:()V
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
iload 2
aload 1
aastore
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/graph/NodeStack;
0 6 1 n Lorg/graalvm/compiler/graph/Node;
1 6 2 newIndex I
2 6 3 valuesLength I
MethodParameters:
Name Flags
n
private void grow();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
arraylength
istore 1
start local 1 1: iload 1
iconst_1
ishl
anewarray org.graalvm.compiler.graph.Node
astore 2
start local 2 2: aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 2
putfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/graph/NodeStack;
1 5 1 valuesLength I
2 5 2 newValues [Lorg/graalvm/compiler/graph/Node;
public org.graalvm.compiler.graph.Node pop();
descriptor: ()Lorg/graalvm/compiler/graph/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.graph.NodeStack.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.graph.NodeStack.tos:I
ifgt 1
new java.lang.AssertionError
dup
ldc "stack must be non-empty"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
aload 0
dup
getfield org.graalvm.compiler.graph.NodeStack.tos:I
iconst_1
isub
dup_x1
putfield org.graalvm.compiler.graph.NodeStack.tos:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/graph/NodeStack;
public org.graalvm.compiler.graph.Node peek();
descriptor: ()Lorg/graalvm/compiler/graph/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.graph.NodeStack.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.graph.NodeStack.tos:I
ifgt 1
new java.lang.AssertionError
dup
ldc "stack must be non-empty"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
aload 0
getfield org.graalvm.compiler.graph.NodeStack.tos:I
iconst_1
isub
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/graph/NodeStack;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.graph.NodeStack.tos:I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/graph/NodeStack;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.graph.NodeStack.tos:I
ifne 2
1: ldc "NodeStack: []"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 8
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
getfield org.graalvm.compiler.graph.NodeStack.values:[Lorg/graalvm/compiler/graph/Node;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield org.graalvm.compiler.graph.NodeStack.tos:I
if_icmplt 5
end local 2 9: new java.lang.StringBuilder
dup
ldc "NodeStack: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_2
invokevirtual java.lang.StringBuilder.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/graph/NodeStack;
3 10 1 sb Ljava/lang/StringBuilder;
4 9 2 i I
}
SourceFile: "NodeStack.java"