[pypy-commit] pypy jit-leaner-frontend: fix rptthon
fijal
pypy.commits at gmail.com
Mon Mar 21 08:46:57 EDT 2016
Author: fijal
Branch: jit-leaner-frontend
Changeset: r83215:c2bae70672b4
Date: 2016-03-21 14:46 +0200
http://bitbucket.org/pypy/pypy/changeset/c2bae70672b4/
Log: fix rptthon
diff --git a/rpython/jit/metainterp/opencoder.py b/rpython/jit/metainterp/opencoder.py
--- a/rpython/jit/metainterp/opencoder.py
+++ b/rpython/jit/metainterp/opencoder.py
@@ -219,7 +219,7 @@
self.vref_array = vref_array
class Trace(BaseTrace):
- _deadranges = (-1, -1)
+ _deadranges = (-1, None)
def __init__(self, inputargs):
self._ops = [rffi.cast(rffi.SHORT, -15)] * 30000
@@ -427,7 +427,7 @@
return
ranges[pos] = v
- if self._deadranges != (-1, -1):
+ if self._deadranges != (-1, None):
if self._deadranges[0] == self._count:
return self._deadranges[1]
liveranges = self.get_live_ranges(metainterp_sd)
More information about the pypy-commit
mailing list