StackFrame.cs 502 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using OpenSim.Scripting.EmbeddedJVM.Types;
  5. namespace OpenSim.Scripting.EmbeddedJVM
  6. {
  7. public class StackFrame
  8. {
  9. public BaseType[] LocalVariables;
  10. public Stack<BaseType> OpStack = new Stack<BaseType>();
  11. public int ReturnPC = 0;
  12. public ClassRecord CallingClass = null;
  13. public StackFrame()
  14. {
  15. LocalVariables = new BaseType[20];
  16. }
  17. }
  18. }