[pypy-svn] r77621 - pypy/branch/32ptr-on-64bit/pypy/translator/c/src

arigo at codespeak.net arigo at codespeak.net
Tue Oct 5 19:10:30 CEST 2010


Author: arigo
Date: Tue Oct  5 19:10:29 2010
New Revision: 77621

Modified:
   pypy/branch/32ptr-on-64bit/pypy/translator/c/src/hiddengcref32.h
Log:
Bah.


Modified: pypy/branch/32ptr-on-64bit/pypy/translator/c/src/hiddengcref32.h
==============================================================================
--- pypy/branch/32ptr-on-64bit/pypy/translator/c/src/hiddengcref32.h	(original)
+++ pypy/branch/32ptr-on-64bit/pypy/translator/c/src/hiddengcref32.h	Tue Oct  5 19:10:29 2010
@@ -25,5 +25,5 @@
      RPyPointerTooBig()
 
 #define OP_HIDE_INTO_PTR32(x, r)  \
-   RPyAssert(!(((long)(x)) & 0x7FFFFFFF8), "Pointer too big or misaligned"); \
+   RPyAssert(!(((long)(x)) & ~0x7FFFFFFF8), "Pointer too big or misaligned"); \
    r = (hiddengcref32_t)(((unsigned long)(x)) >> 3)



More information about the Pypy-commit mailing list