[Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/motlle/mate/runtime FNseqM.nc, 1.7, 1.8

David Gay idgay at users.sourceforge.net
Thu Oct 27 20:21:23 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/mate/runtime
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20440/runtime

Modified Files:
	FNseqM.nc 
Log Message:
tail recursion elimination


Index: FNseqM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/mate/runtime/FNseqM.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FNseqM.nc	25 Oct 2005 22:33:21 -0000	1.7
--- FNseqM.nc	28 Oct 2005 03:21:21 -0000	1.8
***************
*** 474,478 ****
  	/* Done. Get rid of the frame and old arguments. */
  	context->pc = frame->retpc;
! 	call S.pop_frame(context, sizeof(struct foreach_frame));
  	call S.pop(context, nargs + 1);
  	call S.qpush(context, result);
--- 474,478 ----
  	/* Done. Get rid of the frame and old arguments. */
  	context->pc = frame->retpc;
! 	call S.pop_frame(context, sizeof(struct foreach_frame), 0);
  	call S.pop(context, nargs + 1);
  	call S.qpush(context, result);



More information about the Tinyos-commits mailing list