[m-rev.] [dotnet-foreign] diff: generate assembly reference to c_code module

Peter Ross peter.ross at miscrit.be
Thu Apr 12 00:55:41 AEST 2001


Hi,


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


Estimated hours taken: 0.2
Branches: dotnet-foreign

compiler/mlds_to_il.m:
    Fix a bug where we refered to the wrong version of the il_info to
    check the status of file_c_code.

Index: mlds_to_il.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/mlds_to_il.m,v
retrieving revision 1.15.4.6
diff -u -r1.15.4.6 mlds_to_il.m
--- mlds_to_il.m	2001/04/11 14:37:38	1.15.4.6
+++ mlds_to_il.m	2001/04/11 14:53:02
@@ -207,11 +207,11 @@
 			% declare the __c_code module as an assembly we
 			% reference
 		( 
-			Info1 ^ file_c_code = yes,
+			Info ^ file_c_code = yes,
 			mangle_dataname_module(no, ModuleName, CCodeModuleName),
 			AssemblerRefs = [CCodeModuleName | Imports]
 		;
-			Info1 ^ file_c_code = no,
+			Info ^ file_c_code = no,
 			AssemblerRefs = Imports
 		)
 	),

--------------------------------------------------------------------------
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