[m-rev.] diff: IL back-end: fix native_int

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Jul 17 07:23:27 AEST 2001


Branches: main
Estimated hours taken: 2

compiler/ilasm.m:
	Fix the syntax output for "native_int", "native_uint", and
	"native_float" to match what ILASM.EXE expects.

Workspace: /mnt/mars/home/mars/fjh/ws2/mercury
Index: compiler/ilasm.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/ilasm.m,v
retrieving revision 1.14
diff -u -d -r1.14 ilasm.m
--- compiler/ilasm.m	2001/07/13 10:42:43	1.14
+++ compiler/ilasm.m	2001/07/16 21:07:56
@@ -639,11 +639,11 @@
 output_simple_type(uint16, I, I) --> io__write_string("uint16").
 output_simple_type(uint32, I, I) --> io__write_string("uint32").
 output_simple_type(uint64, I, I) --> io__write_string("uint64").
-output_simple_type(native_int, I, I) --> io__write_string("nativeint").
-output_simple_type(native_uint, I, I) --> io__write_string("nativeuint").
+output_simple_type(native_int, I, I) --> io__write_string("native int").
+output_simple_type(native_uint, I, I) --> io__write_string("native unsigned int").
 output_simple_type(float32, I, I) --> io__write_string("float32").
 output_simple_type(float64, I, I) --> io__write_string("float64").
-output_simple_type(native_float, I, I) --> io__write_string("native_float").
+output_simple_type(native_float, I, I) --> io__write_string("native float").
 output_simple_type(bool, I, I) --> io__write_string("bool").
 output_simple_type(char, I, I) --> io__write_string("char").
 output_simple_type(refany, I, I) --> io__write_string("refany").

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