[pypy-svn] r54654 - pypy/branch/hybrid-io/pypy/rpython/memory/gc
fijal at codespeak.net
fijal at codespeak.net
Sun May 11 19:06:31 CEST 2008
Author: fijal
Date: Sun May 11 19:06:31 2008
New Revision: 54654
Modified:
pypy/branch/hybrid-io/pypy/rpython/memory/gc/hybrid.py
Log:
oops
Modified: pypy/branch/hybrid-io/pypy/rpython/memory/gc/hybrid.py
==============================================================================
--- pypy/branch/hybrid-io/pypy/rpython/memory/gc/hybrid.py (original)
+++ pypy/branch/hybrid-io/pypy/rpython/memory/gc/hybrid.py Sun May 11 19:06:31 2008
@@ -208,8 +208,8 @@
raise NotImplementedError("Not supported")
return llmemory.cast_ptr_to_adr(gcref)
- def can_move(self, ptr):
- tid = self.header(llmemory.cast_ptr_to_adr(ptr)).tid
+ def can_move(self, addr):
+ tid = self.header(addr).tid
return not (tid & GCFLAG_EXTERNAL)
def malloc_varsize_collecting_nursery(self, totalsize):
More information about the Pypy-commit
mailing list