[pypy-svn] pypy jit-short-preamble: missed effectinfo
hakanardo
commits-noreply at bitbucket.org
Sun Jan 9 17:18:30 CET 2011
Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short-preamble
Changeset: r40528:3aaf711d0ea0
Date: 2011-01-09 15:15 +0100
http://bitbucket.org/pypy/pypy/changeset/3aaf711d0ea0/
Log: missed effectinfo
diff --git a/pypy/jit/metainterp/optimizeopt/unroll.py b/pypy/jit/metainterp/optimizeopt/unroll.py
--- a/pypy/jit/metainterp/optimizeopt/unroll.py
+++ b/pypy/jit/metainterp/optimizeopt/unroll.py
@@ -419,6 +419,9 @@
if effectinfo is not None:
for fielddescr in effectinfo.write_descrs_fields:
self.unsafe_getitem[fielddescr] = True
+ for arraydescr in effectinfo.write_descrs_arrays:
+ self.unsafe_getarrayitem[arraydescr] = True
+ return
debug_print("heap dirty due to op ", opnum)
self.heap_dirty = True
More information about the Pypy-commit
mailing list