[pypy-svn] r47349 - pypy/dist/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Tue Oct 9 15:11:11 CEST 2007
Author: arigo
Date: Tue Oct 9 15:11:11 2007
New Revision: 47349
Modified:
pypy/dist/pypy/translator/c/gc.py
Log:
Revive gc_reload_possibly_moved in genc too.
Modified: pypy/dist/pypy/translator/c/gc.py
==============================================================================
--- pypy/dist/pypy/translator/c/gc.py (original)
+++ pypy/dist/pypy/translator/c/gc.py Tue Oct 9 15:11:11 2007
@@ -366,10 +366,7 @@
def OP_GC_RELOAD_POSSIBLY_MOVED(self, funcgen, op):
args = [funcgen.expr(v) for v in op.args]
- # XXX this more or less assumes mark-and-sweep gc
- return ''
- # proper return value for moving GCs:
- # %s = %s; /* for moving GCs */' % (args[1], args[0])
+ return '%s = %s; /* for moving GCs */' % (args[1], args[0])
def common_gcheader_definition(self, defnode):
return defnode.db.gctransformer.gc_fields()
More information about the Pypy-commit
mailing list