[pypy-commit] pypy intbound-improvements: remove copy-pasted comment
cfbolz
pypy.commits at gmail.com
Sun Dec 3 12:49:54 EST 2017
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: intbound-improvements
Changeset: r93254:157377fea9d2
Date: 2017-12-03 18:42 +0100
http://bitbucket.org/pypy/pypy/changeset/157377fea9d2/
Log: remove copy-pasted comment
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
@@ -834,8 +834,6 @@
self.make_constant_int(op, 0)
self.last_emitted_operation = REMOVED
return True
- # This is Python's integer division: 'x // (2**shift)' can always
- # be replaced with 'x >> shift', even for negative values of x
if not b2.is_constant():
return False
val = b2.getint()
More information about the pypy-commit
mailing list