view Jint.Runtime/VM/Machine.cs @ 4:1ae5b10f7a10

Code cleanup, minor refactoring
author cin
date Sun, 27 Oct 2013 21:20:59 +0400
parents aced2ae9957f
children a6329b092499
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jint.Runtime.VM {
    class Machine {
        Frame m_frame;

        public void Run(IInstruction prog) {
            while (prog != null)
                prog = prog.Invoke(m_frame);
        }
    }
}