[pypy-commit] pypy default: we don't need to kill huge int bounds if we're just finishing the optimizer pass

fijal noreply at buildbot.pypy.org
Wed Dec 17 10:29:41 CET 2014


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r74965:da4d4e229a6d
Date: 2014-12-17 11:29 +0200
http://bitbucket.org/pypy/pypy/changeset/da4d4e229a6d/

Log:	we don't need to kill huge int bounds if we're just finishing the
	optimizer pass

diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py b/rpython/jit/metainterp/optimizeopt/unroll.py
--- a/rpython/jit/metainterp/optimizeopt/unroll.py
+++ b/rpython/jit/metainterp/optimizeopt/unroll.py
@@ -146,7 +146,8 @@
             self.close_bridge(start_label)
 
         self.optimizer.flush()
-        KillHugeIntBounds(self.optimizer).apply()
+        if export_state:
+            KillHugeIntBounds(self.optimizer).apply()
 
         loop.operations = self.optimizer.get_newoperations()
         if export_state:


More information about the pypy-commit mailing list