Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r68821:d865b2499a5f
Date: 2014-01-21 16:38 +0100
http://bitbucket.org/pypy/pypy/changeset/d865b2499a5f/

Log:    Fix the bug for now by letting the SETFIELD_GC operation through. I
        believe that it should be killed by the optimizers anyway.

diff --git a/rpython/jit/metainterp/pyjitpl.py 
b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -623,7 +623,7 @@
         tobox = self.metainterp.heapcache.getfield(box, fielddescr)
         if tobox is valuebox:
             return
-        if tobox is not None or not 
self.metainterp.heapcache.is_unescaped(box) or not isinstance(valuebox, Const) 
or valuebox.nonnull():
+        if 1:  # tobox is not None or not 
self.metainterp.heapcache.is_unescaped(box) or not isinstance(valuebox, Const) 
or valuebox.nonnull():
             self.execute_with_descr(rop.SETFIELD_GC, fielddescr, box, valuebox)
         self.metainterp.heapcache.setfield(box, valuebox, fielddescr)
     opimpl_setfield_gc_i = _opimpl_setfield_gc_any
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to