CVS: sml-dist/src/runtime/mach-dep unix-prof.c,1.2,1.3

Matthias Blume <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj.commits
Message-ID <[email protected]>
Update of /cvsroot/smlnj/sml-dist/src/runtime/mach-dep
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv721/src/runtime/mach-dep

Modified Files:
	unix-prof.c 
Log Message:
fixed problem with time profiler

Index: unix-prof.c
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/runtime/mach-dep/unix-prof.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** unix-prof.c	1 Jun 2000 18:33:51 -0000	1.2
--- unix-prof.c	18 Jan 2005 17:58:39 -0000	1.3
***************
*** 45,49 ****
  PVT SigReturn_t ProfSigHandler ()
  {
!     Word_t	*arr = PTR_MLtoC(Word_t, ProfCntArray);
      int		indx = INT_MLtoC(DEREF(ProfCurrent));
  
--- 45,49 ----
  PVT SigReturn_t ProfSigHandler ()
  {
!     Word_t	*arr = GET_SEQ_DATAPTR(Word_t, ProfCntArray);
      int		indx = INT_MLtoC(DEREF(ProfCurrent));
  



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.