Author: Maciej Fijalkowski <[email protected]>
Branch: optresult
Changeset: r77539:21d9a3e29cb4
Date: 2015-05-25 16:15 +0200
http://bitbucket.org/pypy/pypy/changeset/21d9a3e29cb4/
Log: record the dirty field here
diff --git a/rpython/jit/metainterp/optimizeopt/info.py
b/rpython/jit/metainterp/optimizeopt/info.py
--- a/rpython/jit/metainterp/optimizeopt/info.py
+++ b/rpython/jit/metainterp/optimizeopt/info.py
@@ -87,6 +87,9 @@
def setfield(self, descr, op, optheap=None):
self._fields[descr.index] = op
+ if optheap is not None:
+ assert not self.is_virtual()
+ optheap.register_dirty_field(descr, self)
def getfield(self, descr, optheap=None):
return self._fields[descr.index]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit