[pypy-svn] r76913 - pypy/branch/gc-module/pypy/rlib

arigo at codespeak.net arigo at codespeak.net
Tue Sep 7 13:35:15 CEST 2010


Author: arigo
Date: Tue Sep  7 13:35:13 2010
New Revision: 76913

Modified:
   pypy/branch/gc-module/pypy/rlib/rgc.py
Log:
Fix.


Modified: pypy/branch/gc-module/pypy/rlib/rgc.py
==============================================================================
--- pypy/branch/gc-module/pypy/rlib/rgc.py	(original)
+++ pypy/branch/gc-module/pypy/rlib/rgc.py	Tue Sep  7 13:35:13 2010
@@ -364,7 +364,7 @@
 
 def cast_gcref_to_int(gcref):
     if we_are_translated():
-        return cast_ptr_to_int(gcref)
+        return lltype.cast_ptr_to_int(gcref)
     else:
         return id(gcref._x)
 



More information about the Pypy-commit mailing list