[pypy-commit] pypy jit-leaner-frontend: another rpython fix

fijal pypy.commits at gmail.com
Mon Mar 21 08:53:06 EDT 2016


Author: fijal
Branch: jit-leaner-frontend
Changeset: r83216:c7460558e25f
Date: 2016-03-21 14:51 +0200
http://bitbucket.org/pypy/pypy/changeset/c7460558e25f/

Log:	another rpython fix

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
@@ -145,9 +145,9 @@
             liveranges[index] = index
         if opwithdescr[opnum]:
             descr_index = self._next()
-        if rop.is_guard(opnum):
-            self.get_snapshot_iter(descr_index).update_liveranges(
-                index, liveranges)
+            if rop.is_guard(opnum):
+                self.get_snapshot_iter(descr_index).update_liveranges(
+                    index, liveranges)
         return index + 1
 
     def next(self):


More information about the pypy-commit mailing list