src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.graph/src/org/graalvm/compiler/graph/NodeStack.java
changeset 48861 47f19ff9903c
parent 47216 71c04702a3d5
child 50858 2d3e99a72541
equal deleted inserted replaced
48860:5bce1b7e7800 48861:47f19ff9903c
    72 
    72 
    73     public boolean isEmpty() {
    73     public boolean isEmpty() {
    74         return tos == 0;
    74         return tos == 0;
    75     }
    75     }
    76 
    76 
       
    77     public void clear() {
       
    78         tos = 0;
       
    79     }
       
    80 
    77     @Override
    81     @Override
    78     public String toString() {
    82     public String toString() {
    79         if (tos == 0) {
    83         if (tos == 0) {
    80             return "NodeStack: []";
    84             return "NodeStack: []";
    81         }
    85         }