[pypy-commit] pypy arm-backend-2: remove special casing in prepare_cond_call...

bivab noreply at buildbot.pypy.org
Mon Jul 23 11:41:18 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r56404:65b8b6af72d3
Date: 2012-07-23 11:40 +0200
http://bitbucket.org/pypy/pypy/changeset/65b8b6af72d3/

Log:	remove special casing in prepare_cond_call...

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
@@ -1090,16 +1090,8 @@
         args = op.getarglist()
         arglocs = [self._ensure_value_is_boxed(op.getarg(i), args)
 			 for i in range(N)]
-        descr = op.getdescr()
-        if(op.getopnum() == rop.COND_CALL_GC_WB_ARRAY 
-            and descr.jit_wb_cards_set != 0):
-            # check conditions for card marking
-            assert (descr.jit_wb_cards_set_byteofs ==
-                    descr.jit_wb_if_flag_byteofs)
-            assert descr.jit_wb_cards_set_singlebyte == -0x80
-            # allocate scratch register
-            tmp = self.get_scratch_reg(INT)
-            arglocs.append(tmp)
+        tmp = self.get_scratch_reg(INT)
+        arglocs.append(tmp)
         return arglocs
 
     prepare_op_cond_call_gc_wb_array = prepare_op_cond_call_gc_wb


More information about the pypy-commit mailing list