<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
In the one case, there is a dependency on the ordering of the enumeration.<BR>
It seems to me that anything that depends on the order of an enumeration<BR>
belongs very near the definition of the enumeration.<BR>
<BR>
Stuff like this:<BR>
<BR>
SignedType = ARRAY CGType OF BOOLEAN {<BR> FALSE, TRUE, FALSE, TRUE, (* Word8 .. Int16 *)<BR> FALSE, TRUE, FALSE, TRUE, (* Word32 .. Int64 *)<BR> TRUE, TRUE, TRUE, (* Reel .. XReel *)<BR> FALSE, FALSE, FALSE (* Addr .. Void *)<BR> };<BR>
<BR>
CONST<BR> ToUnsignedType = ARRAY [CGType.Word32..CGType.Int64] OF<BR> [CGType.Word32..CGType.Word64] {<BR> CGType.Word32, CGType.Word32,<BR> CGType.Word64, CGType.Word64 };<BR>
<BR>
I'm likely going to duplicate this exact stuff.<BR>
<BR>
- Jay<BR> <BR>> Date: Mon, 8 Feb 2010 17:00:54 +0000<BR>> To: m3commit@elegosoft.com<BR>> From: hosking@elego.de<BR>> Subject: [M3commit] CVS Update: cm3<BR>> <BR>> CVSROOT: /usr/cvs<BR>> Changes by: hosking@birch. 10/02/08 17:00:54<BR>> <BR>> Modified files:<BR>> cm3/m3-sys/m3middle/src/: Target.i3 TargetMap.i3 TargetMap.m3 <BR>> <BR>> Log message:<BR>> Revert muddying of m3middle interfaces. These are engineered in support<BR>> of the front-end. They should not be perturbed for down-stream back-end needs.<BR>> <BR> </body>
</html>