[pypy-commit] pypy dynamic-specialized-tuple: kill an assert that doesn't hold now.

alex_gaynor noreply at buildbot.pypy.org
Fri Mar 30 04:00:07 CEST 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r54088:5b813268023d
Date: 2012-03-29 21:59 -0400
http://bitbucket.org/pypy/pypy/changeset/5b813268023d/

Log:	kill an assert that doesn't hold now.

diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py b/pypy/jit/metainterp/optimizeopt/optimizer.py
--- a/pypy/jit/metainterp/optimizeopt/optimizer.py
+++ b/pypy/jit/metainterp/optimizeopt/optimizer.py
@@ -59,7 +59,6 @@
     def make_len_gt(self, mode, descr, val):
         if self.lenbound:
             assert self.lenbound.mode == mode
-            assert self.lenbound.descr == descr
             self.lenbound.bound.make_gt(IntBound(val, val))
         else:
             self.lenbound = LenBound(mode, descr, IntLowerBound(val + 1))


More information about the pypy-commit mailing list