[pypy-svn] r54673 - pypy/branch/hybrid-io/pypy/rpython
fijal at codespeak.net
fijal at codespeak.net
Mon May 12 14:02:30 CEST 2008
Author: fijal
Date: Mon May 12 14:02:26 2008
New Revision: 54673
Modified:
pypy/branch/hybrid-io/pypy/rpython/llinterp.py
Log:
forgotten cast
Modified: pypy/branch/hybrid-io/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/hybrid-io/pypy/rpython/llinterp.py (original)
+++ pypy/branch/hybrid-io/pypy/rpython/llinterp.py Mon May 12 14:02:26 2008
@@ -770,7 +770,8 @@
def op_gc__enable_finalizers(self):
self.heap.enable_finalizers()
- def op_gc_can_move(self, addr):
+ def op_gc_can_move(self, ptr):
+ addr = llmemory.cast_ptr_to_adr(ptr)
return self.heap.can_move(addr)
def op_gc_free(self, addr):
More information about the Pypy-commit
mailing list