Author: Armin Rigo <[email protected]>
Branch: stm
Changeset: r49925:1df7fe908221
Date: 2011-11-28 18:20 +0100
http://bitbucket.org/pypy/pypy/changeset/1df7fe908221/

Log:    Fix.

diff --git a/pypy/translator/stm/src_stm/et.c b/pypy/translator/stm/src_stm/et.c
--- a/pypy/translator/stm/src_stm/et.c
+++ b/pypy/translator/stm/src_stm/et.c
@@ -959,11 +959,7 @@
 #if PYPY_LONG_BIT == 32
   stm_write_word(addr, ii);         /* 32 bits */
 #else
-  if (((long)(char*)addr) & 7)
-    stm_write_partial_word(4, (((char *)addr) - 4),
-                           4, ii);                   /* 64 bits, unaligned */
-  else
-    stm_write_partial_word(4, (char *)addr, 0, ii);    /* 64 bits, aligned */
+  stm_write_partial_word(4, (char *)addr, ii);   /* 64 bits */
 #endif
 }
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to