[m-rev.] trivial diff: fix `reserve_tag' + --target asm

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jan 29 01:37:51 AEDT 2003


Estimated hours taken: 0.5
Branches: main

compiler/mlds_to_gcc.m:
	Fix a bug that broke tests/valid/reserve_tag with `--target asm':
	define MR_SECTAG_VARIABLE.

Workspace: /home/ceres/fjh/mercury
Index: compiler/mlds_to_gcc.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/mlds_to_gcc.m,v
retrieving revision 1.77
diff -u -d -r1.77 mlds_to_gcc.m
--- compiler/mlds_to_gcc.m	4 Oct 2002 10:02:32 -0000	1.77
+++ compiler/mlds_to_gcc.m	28 Jan 2003 14:35:21 -0000
@@ -2265,6 +2265,7 @@
 rtti_enum_const("MR_SECTAG_NONE", 0).
 rtti_enum_const("MR_SECTAG_LOCAL", 1).
 rtti_enum_const("MR_SECTAG_REMOTE", 2).
+rtti_enum_const("MR_SECTAG_VARIABLE", 3).
 
 :- pred build_struct_type(gcc__struct_name::in,
 		list(pair(gcc__type, gcc__field_name))::in,

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list