Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r62688:8cc0faa67469
Date: 2013-03-22 22:07 -0700
http://bitbucket.org/pypy/pypy/changeset/8cc0faa67469/

Log:    (alex, fijal): fix obvious typo

diff --git a/rpython/jit/backend/arm/regalloc.py 
b/rpython/jit/backend/arm/regalloc.py
--- a/rpython/jit/backend/arm/regalloc.py
+++ b/rpython/jit/backend/arm/regalloc.py
@@ -168,7 +168,7 @@
 
     def get_free_reg(self):
         free_regs = self.free_regs
-        for i in range(len(free_regs), -1, -1):
+        for i in range(len(free_regs) - 1, -1, -1):
             if free_regs[i] in self.save_around_call_regs:
                 continue
             return free_regs[i]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to