[pypy-commit] pypy default: we can definbitely use a constant here

fijal noreply at buildbot.pypy.org
Thu Dec 25 20:55:59 CET 2014


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r75118:a2cfe79ba785
Date: 2014-12-25 21:55 +0200
http://bitbucket.org/pypy/pypy/changeset/a2cfe79ba785/

Log:	we can definbitely use a constant here

diff --git a/rpython/jit/metainterp/optimizeopt/optimizer.py b/rpython/jit/metainterp/optimizeopt/optimizer.py
--- a/rpython/jit/metainterp/optimizeopt/optimizer.py
+++ b/rpython/jit/metainterp/optimizeopt/optimizer.py
@@ -624,7 +624,7 @@
             except KeyError:
                 pass
             else:
-                assert value.getlevel() != LEVEL_CONSTANT
+                #assert value.getlevel() != LEVEL_CONSTANT
                 assert cur_value.getlevel() != LEVEL_CONSTANT
                 # replacing with a different box
                 cur_value.copy_from(value)


More information about the pypy-commit mailing list