[pypy-commit] pypy default: Remove a print left behind. Replace it with an assert.

arigo noreply at buildbot.pypy.org
Wed Jul 13 17:11:53 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r45565:ab3c2b73305b
Date: 2011-07-13 17:11 +0200
http://bitbucket.org/pypy/pypy/changeset/ab3c2b73305b/

Log:	Remove a print left behind. Replace it with an assert.

diff --git a/pypy/jit/metainterp/optimizeopt/util.py b/pypy/jit/metainterp/optimizeopt/util.py
--- a/pypy/jit/metainterp/optimizeopt/util.py
+++ b/pypy/jit/metainterp/optimizeopt/util.py
@@ -21,7 +21,7 @@
             continue
         if hasattr(Class, name_prefix + name):
             opclass = resoperation.opclasses[getattr(rop, name)]
-            print value, name, opclass
+            assert name in opclass.__name__
             result.append((value, opclass, getattr(Class, name_prefix + name)))
     return unrolling_iterable(result)
 


More information about the pypy-commit mailing list