[pypy-commit] pypy optresult: try to disable pending setfields

fijal noreply at buildbot.pypy.org
Mon Jun 8 13:34:49 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult
Changeset: r77951:ee93fcd055df
Date: 2015-06-08 13:34 +0200
http://bitbucket.org/pypy/pypy/changeset/ee93fcd055df/

Log:	try to disable pending setfields

diff --git a/rpython/jit/metainterp/optimizeopt/heap.py b/rpython/jit/metainterp/optimizeopt/heap.py
--- a/rpython/jit/metainterp/optimizeopt/heap.py
+++ b/rpython/jit/metainterp/optimizeopt/heap.py
@@ -422,6 +422,8 @@
                 cf.force_lazy_setfield(self, None)
 
     def force_lazy_setfields_and_arrayitems_for_guard(self):
+        self.force_all_lazy_setfields_and_arrayitems()
+        return []
         pendingfields = []
         for descr, cf in self.cached_fields.iteritems():
             op = cf._lazy_setfield


More information about the pypy-commit mailing list