[pypy-svn] r48354 - pypy/dist/pypy/rpython/memory/gctransform

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Nov 7 13:17:50 CET 2007


Author: cfbolz
Date: Wed Nov  7 13:17:48 2007
New Revision: 48354

Modified:
   pypy/dist/pypy/rpython/memory/gctransform/framework.py
Log:
a better debug print for initializing stores


Modified: pypy/dist/pypy/rpython/memory/gctransform/framework.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gctransform/framework.py	(original)
+++ pypy/dist/pypy/rpython/memory/gctransform/framework.py	Wed Nov  7 13:17:48 2007
@@ -87,7 +87,8 @@
         mallocvars = {target.inputargs[index]: True}
         mallocnum += 1
         find_in_block(target, mallocvars)
-    print graph.name, mallocnum, len(result)
+    if result:
+        print "found %s initializing stores in %s" % (len(result), graph.name)
     return result
 
 ADDRESS_VOID_FUNC = lltype.FuncType([llmemory.Address], lltype.Void)



More information about the Pypy-commit mailing list