diff options
Diffstat (limited to 'OpenSim.Scripting.EmbeddedJVM/StackFrame.cs')
-rw-r--r-- | OpenSim.Scripting.EmbeddedJVM/StackFrame.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim.Scripting.EmbeddedJVM/StackFrame.cs b/OpenSim.Scripting.EmbeddedJVM/StackFrame.cs new file mode 100644 index 0000000..afca7a9 --- /dev/null +++ b/OpenSim.Scripting.EmbeddedJVM/StackFrame.cs | |||
@@ -0,0 +1,22 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenSim.Scripting.EmbeddedJVM.Types; | ||
5 | |||
6 | namespace OpenSim.Scripting.EmbeddedJVM | ||
7 | { | ||
8 | public class StackFrame | ||
9 | { | ||
10 | public BaseType[] LocalVariables; | ||
11 | public Stack<BaseType> OpStack = new Stack<BaseType>(); | ||
12 | |||
13 | public int ReturnPC = 0; | ||
14 | public ClassRecord CallingClass = null; | ||
15 | |||
16 | public StackFrame() | ||
17 | { | ||
18 | LocalVariables = new BaseType[20]; | ||
19 | } | ||
20 | |||
21 | } | ||
22 | } | ||