[pypy-commit] pypy optresult: redisable unrolling - let's get everything else going first

fijal noreply at buildbot.pypy.org
Fri Jun 5 09:36:06 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult
Changeset: r77878:e48479cbf6f8
Date: 2015-06-05 09:19 +0200
http://bitbucket.org/pypy/pypy/changeset/e48479cbf6f8/

Log:	redisable unrolling - let's get everything else going first

diff --git a/rpython/jit/metainterp/optimizeopt/__init__.py b/rpython/jit/metainterp/optimizeopt/__init__.py
--- a/rpython/jit/metainterp/optimizeopt/__init__.py
+++ b/rpython/jit/metainterp/optimizeopt/__init__.py
@@ -33,14 +33,14 @@
 
 def build_opt_chain(metainterp_sd, enable_opts):
     optimizations = []
-    unroll = 'unroll' in enable_opts    # 'enable_opts' is normally a dict
+    unroll = False # 'unroll' in enable_opts    # 'enable_opts' is normally a dict
     for name, opt in unroll_all_opts:
         if name in enable_opts:
             if opt is not None:
                 o = opt()
                 optimizations.append(o)
 
-    if ('rewrite' not in enable_opts or 'virtualize' not in enable_opts
+    if 1 or ('rewrite' not in enable_opts or 'virtualize' not in enable_opts
         or 'heap' not in enable_opts or 'unroll' not in enable_opts
         or 'pure' not in enable_opts):
         optimizations.append(OptSimplify(unroll))


More information about the pypy-commit mailing list