[m-dev.] trivial diff: delete more uses of `reg'

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jan 11 18:55:00 AEDT 2001


Estimated hours taken: 0.25

runtime/mercury_debug.c:
runtime/mercury_engine.c:
	Delete uses of the old `reg' macro in mercury_std.h,
	since the definition of that macro has been commented out.

Workspace: /home/pgrad/fjh/ws/hg
Index: runtime/mercury_debug.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_debug.c,v
retrieving revision 1.3
diff -u -d -r1.3 mercury_debug.c
--- runtime/mercury_debug.c	2000/11/23 02:00:24	1.3
+++ runtime/mercury_debug.c	2001/01/11 07:49:12
@@ -224,7 +224,7 @@
 void 
 MR_dumpframe(/* const */ MR_Word *fr)
 {
-	reg	int	i;
+	int	i;
 
 	printf("frame at ptr %p, offset %3ld words\n",
 		(const void *) fr, 
@@ -244,7 +244,7 @@
 void 
 MR_dumpnondstack(void)
 {
-	reg	MR_Word	*fr;
+	MR_Word	*fr;
 
 	printf("\nnondstack dump\n");
 	for (fr = MR_maxfr; fr > MR_CONTEXT(nondetstack_zone)->min;
Index: runtime/mercury_engine.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_engine.c,v
retrieving revision 1.31
diff -u -d -r1.31 mercury_engine.c
--- runtime/mercury_engine.c	2000/12/04 18:28:39	1.31
+++ runtime/mercury_engine.c	2001/01/11 07:52:13
@@ -599,7 +599,7 @@
 static void 
 call_engine_inner(MR_Code *entry_point)
 {
-	reg	Func	*fp;
+	register Func	*fp;
 
 	/*
 	** Start up the actual engine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- 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