aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Friedrich Bolz-Tereick <cfbolz@gmx.de>2021-02-03 15:02:00 +0100
committerCarl Friedrich Bolz-Tereick <cfbolz@gmx.de>2021-02-03 15:02:00 +0100
commit330cf0243709ad69a400dc4bfb6e438e6749e786 (patch)
treee8c9d3f90b2877be9e7baf264fd0d4b516248bd8 /rpython
parentadd a comment about something that I have to re-learn every time I read this ... (diff)
downloadpypy-330cf0243709ad69a400dc4bfb6e438e6749e786.tar.gz
pypy-330cf0243709ad69a400dc4bfb6e438e6749e786.tar.bz2
pypy-330cf0243709ad69a400dc4bfb6e438e6749e786.zip
remove unreachable code(?)
Diffstat (limited to 'rpython')
-rw-r--r--rpython/jit/metainterp/optimizeopt/intutils.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/rpython/jit/metainterp/optimizeopt/intutils.py b/rpython/jit/metainterp/optimizeopt/intutils.py
index 22de4958a8..281340fdc0 100644
--- a/rpython/jit/metainterp/optimizeopt/intutils.py
+++ b/rpython/jit/metainterp/optimizeopt/intutils.py
@@ -43,10 +43,6 @@ class IntBound(AbstractInfo):
def make_le(self, other):
if other.has_upper:
return self.make_le_const(other.upper)
- if not self.has_upper or other.upper < self.upper:
- self.has_upper = True
- self.upper = other.upper
- return True
return False
def make_le_const(self, other):