private void ExecuteAction(VMQueuedAction action) { var frame = new VMStackFrame { Caller = Entity, Callee = action.Callee, Routine = action.Routine }; frame.Args = new short[action.Routine.Arguments]; Push(frame); }
private void ExecuteAction(VMQueuedAction action) { var frame = new VMStackFrame { Caller = Entity, Callee = action.Callee, CodeOwner = action.CodeOwner, Routine = action.Routine, StackObject = action.StackObject }; frame.Args = new short[action.Routine.Arguments]; Push(frame); }
/// <summary> /// Add an item to the action queue /// </summary> /// <param name="invocation"></param> public void EnqueueAction(VMQueuedAction invocation) { this.Queue.Add(invocation); Context.ThreadActive(this); }
/// <summary> /// Add an item to the action queue /// </summary> /// <param name="invocation"></param> public void EnqueueAction(VMQueuedAction invocation) { this.Queue.Add(invocation); Context.ThreadActive(this); }