[M3commit] CVS Update: cm3

Jay K jay.krell at cornell.edu
Thu Aug 2 11:25:05 CEST 2012


RCS file: /usr/cvs/cm3/m3-sys/m3front/src/misc/CG.m3,v
retrieving revision 1.40
diff -u -r1.40 CG.m3
--- misc/CG.m3    1 Nov 2010 08:35:21 -0000    1.40
+++ misc/CG.m3    2 Aug 2012 08:58:41 -0000
@@ -2610,7 +2610,8 @@
       cg.loophole (Type.Addr, Target.Integer.cg_type);
       Push_int (TargetMap.CG_Align_bytes[Target.Integer.cg_type] - 1);
       cg.and (Target.Integer.cg_type);
-      cg.if_true (Target.Integer.cg_type, nope, Always - freq);
+      cg.load_integer (Target.Integer.cg_type, TInt.Zero);
+      cg.if_compare (Target.Integer.cg_type, Cmp.NE, nope, Always - freq);
       SPop (1, "If_closure-unaligned");
     END;
     Push (proc);

 - Jay

> Date: Thu, 2 Aug 2012 11:24:17 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
> 
> CVSROOT:	/usr/cvs
> Changes by:	jkrell at birch.	12/08/02 11:24:17
> 
> Modified files:
> 	cm3/m3-sys/m3front/src/misc/: CG.m3 
> 
> Log message:
> 	fix If_closure if NOT Target.Aligned_procedures
> 	This fixes SPARC64_SOLARIS.
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20120802/bb8de681/attachment-0002.html>


More information about the M3commit mailing list