Mercurial > pub > Jint1
comparison Jint.Runtime/VM/Frame.cs @ 8:5b2302d3ac4f default tip
Слияние
author | cin |
---|---|
date | Wed, 30 Oct 2013 20:44:42 +0400 |
parents | a6329b092499 |
children |
comparison
equal
deleted
inserted
replaced
7:17543aa3aced | 8:5b2302d3ac4f |
---|---|
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) |