[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun Jan 31 13:11:30 CET 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/01/31 13:11:30

Modified files:
	cm3/m3-sys/m3back/src/: Codex86.i3 Codex86.m3 M3x86.m3 
	                        Stackx86.i3 Stackx86.m3 

Log message:
	adapt so it builds with recent m3middle changes:
	comment out warnings
	TInt.MaxS8 => Target.Int8.max
	TInt.MinS8 => Target.Int8.min
	TInt.FF => Target.Word8.max
	TInt.FFFF => Target.Word16.max
	TInt.FFFFFFFF => Target.Word32.max
	TInt.MinS32 => Target.Int32.min
	(notice loss of const-ness;
	it is only pack/align that is *perhaps* not
	constant, perhaps platform-specific, but not
	really, perhaps only if you absolutely
	need to match C structs and have them
	tightly packed; we generally don't do that,
	we might as well adapt conservative
	platform-independent packing/alignment
	results (there seems to be something
	wrong with Darwin targets here though,
	some missing align pragma or such,
	NT386 has a related problem e.g. in mklib)
	
	M3ID.Length(a) > 0 =>
	t := M3ID.ToText(a);
	t # NIL AND Text.Length(t) > 0
	(notice loss of avoiding heap allocation)




More information about the M3commit mailing list