[m-rev.] for review: reserved address data representation

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Oct 24 14:09:52 AEST 2001


Estimated hours taken: 40
Branches: main

Allow the compiler to optionally make use of reserved addresses --
null pointers, ints cast to pointers, and addresses of global variables --
to optimize the representation of constants in discriminated union types.

This will be particularly useful for the .NET and Java back-ends.

There are several parts to this change:
	- compiler support
	- RTTI support
	- fixes for code which makes assumptions that no longer hold
	- optimizing trivial switches in the MLDS back-end

For ease of review, I will post each of these parts separately.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  | "... it seems to me that 15 years of
The University of Melbourne         | email is plenty for one lifetime."
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- Prof. Donald E. Knuth
--------------------------------------------------------------------------
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