public void PrtPushFunStackFrame(PrtFun fun, List <PrtValue> locals) { if (!fun.IsAnonFun) { stateImpl.TraceLine("<FunctionLog> Machine {0}-{1} executing Function {2}", this.Name, this.instanceNumber, fun); } invertedFunStack.PushFun(fun, locals); }
public void PrtPushFunStackFrame(PrtFun fun, List <PrtValue> locals) { if (!fun.IsAnonFun) { stateImpl.TraceLine("<FunctionLog> Machine {0}-{1} executing Function {2}", this.Name, this.instanceNumber, fun); } invertedFunStack.PushFun(fun, new List <PrtValue>(locals.Select(v => v.Clone()))); // TODO: temporary }
public void PrtPushFunStackFrame(PrtFun fun, List <PrtValue> local) { invertedFunStack.PushFun(fun, local); }