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

fijal at codespeak.net fijal at codespeak.net
Sun May 3 05:52:42 CEST 2009


Author: fijal
Date: Sun May  3 05:52:42 2009
New Revision: 64996

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/regalloc.py
Log:
disable jump_reg_candidates, probably only for now. The reason is that
it is just an optimization and we want to get it right first.


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	Sun May  3 05:52:42 2009
@@ -101,6 +101,7 @@
 
     def _create_jump_reg_candidates(self, jump):
         self.jump_reg_candidates = {}
+        return
         for i in range(len(jump.args)):
             arg = jump.args[i]
             loc = jump.jump_target.arglocs[i]
@@ -609,9 +610,9 @@
                 # it's better to say here that we're always in dirty stack
                 # than worry at the jump point
                 self.dirty_stack[arg] = True
-                if jump is not None:
-                    jarg = jump.args[i]
-                    self.jump_reg_candidates[jarg] = reg
+                #if jump is not None:
+                #    jarg = jump.args[i]
+                #    self.jump_reg_candidates[jarg] = reg
             else:
                 loc = stack_pos(i)
                 self.stack_bindings[arg] = loc



More information about the Pypy-commit mailing list