[pypy-commit] pypy remove-getfield-pure: Check no longer needed
sbauman
pypy.commits at gmail.com
Wed Jan 13 18:25:37 EST 2016
Author: Spenser Andrew Bauman <sabauma at gmail.com>
Branch: remove-getfield-pure
Changeset: r81750:23d46522a1dc
Date: 2016-01-13 13:48 -0500
http://bitbucket.org/pypy/pypy/changeset/23d46522a1dc/
Log: Check no longer needed
diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/jit/metainterp/optimizeopt/pure.py
--- a/rpython/jit/metainterp/optimizeopt/pure.py
+++ b/rpython/jit/metainterp/optimizeopt/pure.py
@@ -221,7 +221,7 @@
def produce_potential_short_preamble_ops(self, sb):
ops = self.optimizer._newoperations
for i, op in enumerate(ops):
- if op.is_always_pure() and not op.is_getfield():
+ if op.is_always_pure():
sb.add_pure_op(op)
if op.is_ovf() and ops[i + 1].getopnum() == rop.GUARD_NO_OVERFLOW:
sb.add_pure_op(op)
More information about the pypy-commit
mailing list