diff options
author | Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | 2020-04-29 10:39:34 +0200 |
---|---|---|
committer | Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | 2020-04-29 10:39:34 +0200 |
commit | 1b01ce1cf73fd4bf84f54725fe6a3971945d46e0 (patch) | |
tree | 8b3ba9607a5f0dc0a486318a377329090d6d1236 /rpython | |
parent | express the make_le/ge/gt/lt methods in terms of their _const variants (diff) | |
download | pypy-1b01ce1cf73fd4bf84f54725fe6a3971945d46e0.tar.gz pypy-1b01ce1cf73fd4bf84f54725fe6a3971945d46e0.tar.bz2 pypy-1b01ce1cf73fd4bf84f54725fe6a3971945d46e0.zip |
remove copy-pasted comment
Diffstat (limited to 'rpython')
-rw-r--r-- | rpython/jit/metainterp/optimizeopt/rewrite.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rpython/jit/metainterp/optimizeopt/rewrite.py b/rpython/jit/metainterp/optimizeopt/rewrite.py index 7024e51ad5..47b88dbfdf 100644 --- a/rpython/jit/metainterp/optimizeopt/rewrite.py +++ b/rpython/jit/metainterp/optimizeopt/rewrite.py @@ -841,8 +841,6 @@ class OptRewrite(Optimization): 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() |