Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r45206:f46d3a44611f
Date: 2011-06-29 20:36 +0200
http://bitbucket.org/pypy/pypy/changeset/f46d3a44611f/
Log: enable all pure operations in short preamble
diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py
b/pypy/jit/metainterp/optimizeopt/optimizer.py
--- a/pypy/jit/metainterp/optimizeopt/optimizer.py
+++ b/pypy/jit/metainterp/optimizeopt/optimizer.py
@@ -420,8 +420,7 @@
def produce_potential_short_preamble_ops(self, potential_ops):
for op in self.emitted_pure_operations:
- if op.is_always_pure():
- potential_ops[op.result] = op
+ potential_ops[op.result] = op
for opt in self.optimizations:
opt.produce_potential_short_preamble_ops(potential_ops)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit