Author: Armin Rigo <[email protected]>
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()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to