[pypy-svn] r71358 - pypy/branch/debug-vref2/pypy/jit/backend/llsupport

arigo at codespeak.net arigo at codespeak.net
Sat Feb 20 14:40:23 CET 2010


Author: arigo
Date: Sat Feb 20 14:40:22 2010
New Revision: 71358

Modified:
   pypy/branch/debug-vref2/pypy/jit/backend/llsupport/gc.py
Log:
Fix.


Modified: pypy/branch/debug-vref2/pypy/jit/backend/llsupport/gc.py
==============================================================================
--- pypy/branch/debug-vref2/pypy/jit/backend/llsupport/gc.py	(original)
+++ pypy/branch/debug-vref2/pypy/jit/backend/llsupport/gc.py	Sat Feb 20 14:40:22 2010
@@ -418,7 +418,7 @@
                                             0, size, True, False, False)
             except MemoryError:
                 fatalerror("out of memory (from JITted code)")
-                return lltype.nullptr(llmemory.GCREF.TO)
+                return r_ulonglong(0)
             res = rffi.cast(lltype.Signed, gcref)
             nurs_free = llop1.gc_adr_of_nursery_free(llmemory.Address).signed[0]
             return r_ulonglong(nurs_free) << 32 | r_ulonglong(r_uint(res))



More information about the Pypy-commit mailing list