Mercurial > pub > Jint1
view Jint.Runtime/VM2/Machine.cs @ 1:033ebe7432d5
vm v2
author | cin |
---|---|
date | Thu, 24 Oct 2013 19:45:57 +0400 |
parents | |
children | 4aed85a1f558 |
line wrap: on
line source
using System; using System.Collections.Generic; namespace Jint.Runtime.VM2 { public class Machine { RuntimeContext m_context; Stack<object[]> m_frames; object[] m_frame; public Machine () { } public void Execute(Instruction[] instructions) { foreach (var op in instructions) { } } private object[] MakeArgs(int[] regs) { object[] args = new object[regs.Length]; for (int i=0; i< regs.Length; i++) args = m_frame [regs [i]]; } } }