Commits

Hakan Ardo committed e7e4bc7

resolved merge

Comments (0)

Files changed (1)

pypy/jit/metainterp/optimizeopt/__init__.py

 PARAMETERS['enable_opts'] = ALL_OPTS_NAMES
 
 def optimize_loop_1(metainterp_sd, loop, enable_opts,
+                    inline_short_preamble=True, retrace=None):
     """Optimize loop.operations to remove internal overheadish operations.
     """
     optimizations = []
         optimizations.append(OptSimplify())
 
     if inline_short_preamble:
-        optimizations = [OptInlineShortPreamble(retraced)] + optimizations
+        optimizations = [OptInlineShortPreamble(retrace)] + optimizations
 
     if unroll:
         optimize_unroll(metainterp_sd, loop, optimizations)
     except KeyError:
         pass
     optimize_loop_1(metainterp_sd, bridge, enable_opts,
-                    inline_short_preamble, retraced)
+                    inline_short_preamble, retrace)
 
 if __name__ == '__main__':
     print ALL_OPTS_NAMES