Author: leo
Date: Thu Nov 10 13:24:01 2005
New Revision: 9891

Modified:
   trunk/jit/i386/jit_emit.h
Log:
jit/x86 fix swapped args in a xchg! macro - thanks to particle

Modified: trunk/jit/i386/jit_emit.h
==============================================================================
--- trunk/jit/i386/jit_emit.h   (original)
+++ trunk/jit/i386/jit_emit.h   Thu Nov 10 13:24:01 2005
@@ -1666,7 +1666,7 @@ static unsigned char *lastpc;
     jit_emit_fstore_mb_n(pc, emit_EBX, offs); \
 }
 
-#  define jit_emit_xchg_MR_n(pc, r, offs) { \
+#  define jit_emit_xchg_MR_n(pc, offs, r) { \
     emitm_fld((pc), r); \
     jit_emit_fload_mb_n(pc, emit_EBX, offs); \
     emitm_fstp((pc), (r+2)); \

Reply via email to