public static ExecStack deep_copy(Core core, ExecStack original) { ExecStack copy = new ExecStack(core); copy.stack = original.stack; return(copy); }
public FuncFrame(Core core, string func_name, int pc, WItem[] locals, ExecStack exec_stack, Int32[] bytecode) { this.func_name = func_name; this.pc = pc; this.locals = locals; this.exec_stack = exec_stack; this.bytecode = bytecode; }