[pypy-commit] pypy arm-backend-2: more fixes

bivab noreply at buildbot.pypy.org
Mon Nov 21 17:13:41 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r49631:b14409bab3b1
Date: 2011-11-21 16:12 +0100
http://bitbucket.org/pypy/pypy/changeset/b14409bab3b1/

Log:	more fixes

diff --git a/pypy/jit/backend/arm/regalloc.py b/pypy/jit/backend/arm/regalloc.py
--- a/pypy/jit/backend/arm/regalloc.py
+++ b/pypy/jit/backend/arm/regalloc.py
@@ -672,7 +672,7 @@
         if _check_imm_arg(c_ofs):
             ofs_loc = imm(ofs)
         else:
-            ofs_loc = self._ensure_value_is_boxed(c_ofs, boxes)
+            ofs_loc = self._ensure_value_is_boxed(c_ofs, op.getarglist())
         return [base_loc, index_loc, value_loc, ofs_loc, imm(ofs),
                                         imm(itemsize), imm(fieldsize)]
 
@@ -725,7 +725,7 @@
         if imm_ofs:
             l1 = self.make_sure_var_in_reg(ofs_box, args)
         else:
-            l1, box1 = self._ensure_value_is_boxed(ofs_box, args)
+            l1 = self._ensure_value_is_boxed(ofs_box, args)
 
         self.possibly_free_vars_for_op(op)
         self.free_temp_vars()


More information about the pypy-commit mailing list