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

fijal at codespeak.net fijal at codespeak.net
Mon Oct 5 17:29:58 CEST 2009


Author: fijal
Date: Mon Oct  5 17:29:49 2009
New Revision: 68177

Modified:
   pypy/trunk/pypy/jit/backend/x86/regalloc.py
Log:
A fix for the test, same as binop_part


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	Mon Oct  5 17:29:49 2009
@@ -514,8 +514,8 @@
     consider_ooisnot = _consider_compop
 
     def _consider_float_op(self, op, ignored):
-        loc0 = self.xrm.force_result_in_reg(op.result, op.args[0], op.args)
         loc1 = self.xrm.loc(op.args[1])
+        loc0 = self.xrm.force_result_in_reg(op.result, op.args[0], op.args)
         self.Perform(op, [loc0, loc1], loc0)
         self.xrm.possibly_free_vars(op.args)
 



More information about the Pypy-commit mailing list