Labels
This commit is contained in:
@ -32,6 +32,11 @@ public class ProgramStack {
|
||||
return returnStack.get(stackIndex)-1;
|
||||
}
|
||||
|
||||
public static void reset (){
|
||||
returnStack.clear();
|
||||
stackIndex = 0;
|
||||
}
|
||||
|
||||
public static int getStackPointer(){
|
||||
return stackIndex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user