[m-dev.] trivial diff: update comment in mercury_layout_util.h

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 14 01:03:23 AEDT 1999


Estimated hours taken: 0.1

runtime/mercury_layout_util.h:
	Update a comment to reflect my recent change
	to mercury_layout_util.c.

Workspace: /d-drive/home/hg/fjh/ws-hg2/mercury
Index: runtime/mercury_layout_util.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_layout_util.h,v
retrieving revision 1.7
diff -u -d -r1.7 mercury_layout_util.h
--- runtime/mercury_layout_util.h	1999/05/27 01:01:20	1.7
+++ runtime/mercury_layout_util.h	1999/12/13 14:02:27
@@ -33,8 +33,8 @@
 ** pseudo-typeinfo in the MR_Stack_Layout_Vars structure, with this typeinfo
 ** being the pseudo-typeinfo with the runtime-only information substituted in.
 ** Since type variable numbers start at one, the element of this array at
-** index zero will be unused. This means that the array will itself look
-** like a typeinfo.
+** index zero will not have a type_info in it.  We store a dummy type_ctor_info
+** there, so that the array will itself look like a typeinfo.
 ** 
 ** The vector returned by MR_materialize_typeinfos is from malloc;
 ** it should be freed after last use.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list