[pypy-svn] r78513 - pypy/branch/jit-unroll-loops/pypy/jit/metainterp/optimizeopt
cfbolz at codespeak.net
cfbolz at codespeak.net
Sat Oct 30 13:18:32 CEST 2010
Author: cfbolz
Date: Sat Oct 30 13:18:30 2010
New Revision: 78513
Modified:
pypy/branch/jit-unroll-loops/pypy/jit/metainterp/optimizeopt/unroll.py
Log:
this is no longer necessary now
Modified: pypy/branch/jit-unroll-loops/pypy/jit/metainterp/optimizeopt/unroll.py
==============================================================================
--- pypy/branch/jit-unroll-loops/pypy/jit/metainterp/optimizeopt/unroll.py (original)
+++ pypy/branch/jit-unroll-loops/pypy/jit/metainterp/optimizeopt/unroll.py Sat Oct 30 13:18:30 2010
@@ -8,16 +8,13 @@
become the preamble or entry bridge (don't think there is a
distinction anymore)"""
- def setup(self, virtuals):
- self.enabled = virtuals
+ def setup(self, not_a_bridge):
+ assert not_a_bridge
self.cloned_operations = []
for op in self.optimizer.loop.operations:
self.cloned_operations.append(op.clone())
def propagate_forward(self, op):
- if not self.enabled:
- self.emit_operation(op)
- return
if op.getopnum() == rop.JUMP:
self.force_at_end_of_preamble()
More information about the Pypy-commit
mailing list