comparison Jint.Runtime/VM/Frame.cs @ 6:a6329b092499

Added scopes, function builder
author cin
date Wed, 30 Oct 2013 17:38:35 +0400
parents cb13da6e3349
children
comparison
equal deleted inserted replaced
5:cb13da6e3349 6:a6329b092499
5 5
6 namespace Jint.Runtime.VM { 6 namespace Jint.Runtime.VM {
7 class Frame { 7 class Frame {
8 AbstractBox[] m_registers; 8 AbstractBox[] m_registers;
9 RuntimeContext m_runtime; 9 RuntimeContext m_runtime;
10
11 public const int ThisRegister = 0;
12 public const int ScopeRegister = 1;
13 public const int FirstVarRegsiter = 2;
10 14
11 public Frame(int size, RuntimeContext runtime) { 15 public Frame(int size, RuntimeContext runtime) {
12 if (runtime == null) 16 if (runtime == null)
13 throw new ArgumentNullException("runtime"); 17 throw new ArgumentNullException("runtime");
14 if (size < 0) 18 if (size < 0)