public void PushFun(PrtFun fun, List <PrtValue> locals, int retLoc) { funStack.Push(fun.CreateFunStackFrame(locals, retLoc)); }
public virtual PrtFunStackFrame Clone() { return(fun.CreateFunStackFrame(new List <PrtValue>(locals.Select(v => v.Clone())), returnToLocation)); }