[pypy-commit] pypy default: Argh :-/

arigo noreply at buildbot.pypy.org
Tue Jun 9 08:56:06 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r77971:be51e18af561
Date: 2015-06-09 08:56 +0200
http://bitbucket.org/pypy/pypy/changeset/be51e18af561/

Log:	Argh :-/

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
@@ -156,7 +156,7 @@
         if export_state:
             jd_sd = self.optimizer.jitdriver_sd
             threshold = jd_sd.warmstate.disable_unrolling_threshold
-            if 1 or len(loop.operations) > threshold:
+            if len(loop.operations) > threshold:
                 if loop.operations[0].getopnum() == rop.LABEL:
                     # abandoning unrolling, too long
                     new_descr = stop_label.getdescr()


More information about the pypy-commit mailing list