Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r79695:c1aa791eca45 Date: 2015-09-18 18:10 +0200 http://bitbucket.org/pypy/pypy/changeset/c1aa791eca45/
Log: more of the same diff --git a/rpython/jit/metainterp/optimizeopt/rewrite.py b/rpython/jit/metainterp/optimizeopt/rewrite.py --- a/rpython/jit/metainterp/optimizeopt/rewrite.py +++ b/rpython/jit/metainterp/optimizeopt/rewrite.py @@ -220,10 +220,10 @@ v2 = self.get_box_replacement(rhs) if v1.is_constant(): - if v1.getfloatstorage() == 1.0: + if v1.getfloat() == 1.0: self.make_equal_to(op, v2) return - elif v1.getfloatstorage() == -1.0: + elif v1.getfloat() == -1.0: newop = self.replace_op_with(op, rop.FLOAT_NEG, args=[rhs]) self.emit_operation(newop) return _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit