Author: Maciej Fijalkowski <[email protected]>
Branch: optresult
Changeset: r77538:f3c23874d558
Date: 2015-05-25 16:10 +0200
http://bitbucket.org/pypy/pypy/changeset/f3c23874d558/
Log: register dirty fields
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
@@ -122,6 +122,7 @@
opinfo = optheap.ensure_ptr_info_arg0(op)
opinfo.setfield(op.getdescr(),
optheap.get_box_replacement(op.getarg(1)))
+ optheap.register_dirty_field(op.getdescr(), opinfo)
elif not can_cache:
self.invalidate()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit