[pypy-svn] r68221 - pypy/trunk/pypy/jit/backend/x86

benjamin at codespeak.net benjamin at codespeak.net
Wed Oct 7 01:03:02 CEST 2009


Author: benjamin
Date: Wed Oct  7 01:03:02 2009
New Revision: 68221

Modified:
   pypy/trunk/pypy/jit/backend/x86/regalloc.py
Log:
put assignment after function def which it aliases

Modified: pypy/trunk/pypy/jit/backend/x86/regalloc.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/regalloc.py	(original)
+++ pypy/trunk/pypy/jit/backend/x86/regalloc.py	Wed Oct  7 01:03:02 2009
@@ -765,6 +765,7 @@
         result_loc = self.force_allocate_reg(op.result)
         self.Perform(op, [base_loc, ofs_loc, size_loc], result_loc)
 
+    consider_getfield_raw = consider_getfield_gc
     consider_getfield_gc_pure = consider_getfield_gc
 
     def consider_getarrayitem_gc(self, op, ignored):
@@ -775,7 +776,6 @@
         result_loc = self.force_allocate_reg(op.result)
         self.Perform(op, [base_loc, ofs_loc, imm(scale), imm(ofs)], result_loc)
 
-    consider_getfield_raw = consider_getfield_gc
     consider_getarrayitem_gc_pure = consider_getarrayitem_gc
 
 



More information about the Pypy-commit mailing list