[pypy-svn] r77610 - pypy/branch/32ptr-on-64bit/pypy/rpython/memory/gc

arigo at codespeak.net arigo at codespeak.net
Tue Oct 5 16:34:18 CEST 2010


Author: arigo
Date: Tue Oct  5 16:34:16 2010
New Revision: 77610

Modified:
   pypy/branch/32ptr-on-64bit/pypy/rpython/memory/gc/minimark.py
Log:
Fix test_gc.


Modified: pypy/branch/32ptr-on-64bit/pypy/rpython/memory/gc/minimark.py
==============================================================================
--- pypy/branch/32ptr-on-64bit/pypy/rpython/memory/gc/minimark.py	(original)
+++ pypy/branch/32ptr-on-64bit/pypy/rpython/memory/gc/minimark.py	Tue Oct  5 16:34:16 2010
@@ -516,7 +516,8 @@
                 #
                 # We get here for large fixed-size objects.  Complain if
                 # self.config.compressptr is set.
-                if self.config.compressptr and not self.is_varsize(typeid):
+                if (self.translated_to_c and self.config.compressptr
+                        and not self.is_varsize(typeid)):
                     raise FixedSizeObjectTooLarge
                 #
             else:



More information about the Pypy-commit mailing list