[pypy-svn] r64965 - pypy/branch/pyjitpl5/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Sat May 2 00:22:19 CEST 2009


Author: fijal
Date: Sat May  2 00:22:18 2009
New Revision: 64965

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/regalloc.py
Log:
A typo caught by test_random. good :-)


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/regalloc.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/regalloc.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/regalloc.py	Sat May  2 00:22:18 2009
@@ -534,7 +534,8 @@
         if v in self.jump_reg_candidates and (selected_reg is None or
            self.jump_reg_candidates[v] is selected_reg):
             for var, reg in self.reg_bindings.items():
-                if reg is self.jump_reg_candidates[v] and v not in forbidden_vars:
+                if (reg is self.jump_reg_candidates[v] and
+                    var not in forbidden_vars):
                     return var
         iter = self.reg_bindings.iterkeys()
         while 1:



More information about the Pypy-commit mailing list