[pypy-svn] r32489 - pypy/branch/kill-keepalives/pypy/rpython/memory

mwh at codespeak.net mwh at codespeak.net
Tue Sep 19 13:51:05 CEST 2006


Author: mwh
Date: Tue Sep 19 13:51:03 2006
New Revision: 32489

Modified:
   pypy/branch/kill-keepalives/pypy/rpython/memory/gctransform.py
Log:
add an assert.
the tests pass now -- confused, maybe i wasn't running the right code before?


Modified: pypy/branch/kill-keepalives/pypy/rpython/memory/gctransform.py
==============================================================================
--- pypy/branch/kill-keepalives/pypy/rpython/memory/gctransform.py	(original)
+++ pypy/branch/kill-keepalives/pypy/rpython/memory/gctransform.py	Tue Sep 19 13:51:03 2006
@@ -152,6 +152,7 @@
                     #    continue
                     for link in links_without_a_var:
                         for v in vars:
+                            assert v not in link.args
                             if v.concretetype == llmemory.Address:
                                 break
                         newblock = insert_empty_block(None, link)



More information about the Pypy-commit mailing list