Author: Richard Plangger <planri...@gmail.com>
Branch: memop-simplify3
Changeset: r82624:08f7c1c3571d
Date: 2016-03-01 08:34 +0100
http://bitbucket.org/pypy/pypy/changeset/08f7c1c3571d/

Log:    removed getfield_gc_pure_* which where removed on default some time
        ago

diff --git a/rpython/jit/backend/llsupport/rewrite.py 
b/rpython/jit/backend/llsupport/rewrite.py
--- a/rpython/jit/backend/llsupport/rewrite.py
+++ b/rpython/jit/backend/llsupport/rewrite.py
@@ -243,7 +243,6 @@
             self.emit_gc_store_or_indexed(op, ptr_box, index_box, value_box,
                                           fieldsize, itemsize, ofs)
         elif opnum in (rop.GETFIELD_GC_I, rop.GETFIELD_GC_F, rop.GETFIELD_GC_R,
-                       rop.GETFIELD_GC_PURE_I, rop.GETFIELD_GC_PURE_F, 
rop.GETFIELD_GC_PURE_R,
                        rop.GETFIELD_RAW_I, rop.GETFIELD_RAW_F, 
rop.GETFIELD_RAW_R):
             ofs, itemsize, sign = unpack_fielddescr(op.getdescr())
             ptr_box = op.getarg(0)
@@ -534,8 +533,6 @@
         # See emit_pending_zeros().  (This optimization is done by
         # hacking the object 'o' in-place: e.g., o.getarg(1) may be
         # replaced with another constant greater than 0.)
-        #o = ResOperation(rop.ZERO_ARRAY, [v_arr, self.c_zero, v_length],
-        #                 descr=arraydescr)
         assert isinstance(arraydescr, ArrayDescr)
         scale = arraydescr.itemsize
         v_length_scaled = v_length
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to