Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/embryo

Dir     : e17/libs/embryo/src/lib


Modified Files:
        embryo_amx.c 


Log Message:


actually memory will be aligned anyway... :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/lib/embryo_amx.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- embryo_amx.c        26 Mar 2004 03:24:33 -0000      1.8
+++ embryo_amx.c        26 Mar 2004 03:26:09 -0000      1.9
@@ -824,7 +824,6 @@
           case EMBRYO_OP_LODB_I:
             GETPARAM(offs);
             CHKMEM(pri);
-            /* FIXME: handle unaligned access for 2 & 4 bytes */
             switch (offs)
               {
                case 1:
@@ -912,7 +911,7 @@
                default:
                  ABORT(ep, EMBRYO_ERROR_INVINSTR);
                  break;
-              } /* switch */
+              }
             break;
           case EMBRYO_OP_LIDX:
             offs = (pri * sizeof(Embryo_Cell)) + alt;
@@ -1025,8 +1024,7 @@
             break;
           case EMBRYO_OP_PUSH_R:
             GETPARAM(offs);
-            while (offs--)
-              PUSH(pri);
+            while (offs--) PUSH(pri);
             break;
           case EMBRYO_OP_PUSH:
             GETPARAM(offs);
@@ -1064,7 +1062,6 @@
           case EMBRYO_OP_RET:
             POP(frm);
             POP(offs);
-            /* verify the return address */
             if ((Embryo_UCell)offs >= codesize)
               ABORT(ep, EMBRYO_ERROR_MEMACCESS);
             cip = (Embryo_Cell *)(code + (int)offs);
@@ -1072,7 +1069,6 @@
           case EMBRYO_OP_RETN:
             POP(frm);
             POP(offs);
-            /* verify the return address */
             if ((Embryo_UCell)offs >= codesize)
               ABORT(ep, EMBRYO_ERROR_MEMACCESS);
             cip = (Embryo_Cell *)(code + (int)offs);




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to