Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r67345:8ddab3e49465
Date: 2013-10-13 16:20 +0200
http://bitbucket.org/pypy/pypy/changeset/8ddab3e49465/
Log: Put this check case back in
diff --git a/rpython/jit/metainterp/heapcache.py
b/rpython/jit/metainterp/heapcache.py
--- a/rpython/jit/metainterp/heapcache.py
+++ b/rpython/jit/metainterp/heapcache.py
@@ -155,7 +155,10 @@
else:
cache[dststart + i].clear()
return
- elif argboxes[2] in self.new_boxes:
+ elif (
+ argboxes[2] in self.new_boxes and
+ len(effectinfo.write_descrs_arrays) == 1
+ ):
# Fish the descr out of the effectinfo
cache =
self.heap_array_cache.get(effectinfo.write_descrs_arrays[0], None)
if cache is not None:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit