[pypy-svn] r24546 - pypy/dist/pypy/rpython/memory
cfbolz at codespeak.net
cfbolz at codespeak.net
Sun Mar 19 01:02:25 CET 2006
Author: cfbolz
Date: Sun Mar 19 01:02:22 2006
New Revision: 24546
Modified:
pypy/dist/pypy/rpython/memory/gctransform.py
Log:
print in the opposite case
Modified: pypy/dist/pypy/rpython/memory/gctransform.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform.py (original)
+++ pypy/dist/pypy/rpython/memory/gctransform.py Sun Mar 19 01:02:22 2006
@@ -996,7 +996,6 @@
def protect_roots(self, op, livevars, block, index=-1):
livevars = [var for var in livevars if not var_ispyobj(var)]
if not needs_conservative_livevar_calculation(block):
- print "found non-conservative block"
if index == -1:
index = block.operations.index(op) # XXX hum
needed = {}
@@ -1012,6 +1011,8 @@
if var in needed:
newlivevars.append(var)
livevars = newlivevars
+ else:
+ print "block which needs conservative livevar calculation found"
newops = list(self.push_roots(livevars))
newops.append(op)
return newops, tuple(self.pop_roots(livevars))
More information about the Pypy-commit
mailing list