- removed ALIGNCODENOP
authortwisti <none@none>
Mon, 25 Apr 2005 14:15:14 +0000 (14:15 +0000)
committertwisti <none@none>
Mon, 25 Apr 2005 14:15:14 +0000 (14:15 +0000)
- added M_NOP

src/vm/jit/i386/codegen.h

index 1df5e2ee888ba634aa3fd2052febc4b74df1e309..18892fcb09af000d6667d4822afd7d67c6a1c767 100644 (file)
@@ -29,7 +29,7 @@
 
    Changes:
 
-   $Id: codegen.h 2356 2005-04-22 17:33:35Z christian $
+   $Id: codegen.h 2376 2005-04-25 14:15:14Z twisti $
 
 */
 
@@ -162,11 +162,6 @@ rd->ifmemuse:     max. number of stackslots used for spilling parameters
         cd->mcodeptr = (u1 *) codegen_increase(cd, cd->mcodeptr)
 
 
-/* XXX Do we need code padding on i386? */
-/*  #define ALIGNCODENOP {if((int)((long)cd->mcodeptr&7)){M_NOP;}} */
-#define ALIGNCODENOP
-
-
 /* M_INTMOVE:
      generates an integer-move from register a to b.
      if a and b are the same int-register, no code will be generated.
@@ -515,6 +510,11 @@ typedef enum {
      } while (0)
 
 
+/* macros to create code ******************************************************/
+
+#define M_NOP                   i386_nop(cd)                    /* ;          */
+
+
 /* function gen_resolvebranch **************************************************
 
     backpatches a branch instruction