[m-rev.] diff: make compiler aware that heap_pointer/0 defined in MC++

Tyson Dowd trd at cs.mu.OZ.AU
Tue Jul 16 15:43:17 AEST 2002


Hi,


===================================================================


Estimated hours taken: 2
Branches: main

Fix a bug -- the private_builtin type heap_pointer is now defined by
hand.  This was causing missing field errors for every program.

compiler/mlds_to_il.m:
	Add heap_pointer/0 to the list of hand-defined types.


Index: compiler/mlds_to_il.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/mlds_to_il.m,v
retrieving revision 1.117
diff -u -r1.117 mlds_to_il.m
--- compiler/mlds_to_il.m	1 Jul 2002 14:37:34 -0000	1.117
+++ compiler/mlds_to_il.m	16 Jul 2002 03:57:10 -0000
@@ -3316,6 +3316,7 @@
 			; LibModuleName0 = "private_builtin",
 				( 
 				  Name = "type_ctor_info", Arity = 1
+				; Name = "heap_pointer", Arity = 0
 				; Name = "type_info", Arity = 1
 				; Name = "base_typeclass_info", Arity = 1
 				; Name = "typeclass_info", Arity = 1


-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
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