annotate Jint.Runtime/VM/Machine.cs @ 3:aced2ae9957f

temp commit, new virtual machine concept (strongly typed version of VM2).
author cin
date Sun, 27 Oct 2013 17:23:25 +0400
parents
children a6329b092499
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
1 using System;
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
2 using System.Collections.Generic;
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
3 using System.Linq;
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
4 using System.Text;
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
5
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
6 namespace Jint.Runtime.VM {
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
7 class Machine {
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
8 Frame m_frame;
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
9
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
10 public void Run(IInstruction prog) {
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
11 while (prog != null)
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
12 prog = prog.Invoke(m_frame);
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
13 }
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
14 }
aced2ae9957f temp commit, new virtual machine concept (strongly typed version of VM2).
cin
parents:
diff changeset
15 }