Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r67134:b276b99a50c9
Date: 2013-09-29 09:09 -0700
http://bitbucket.org/pypy/pypy/changeset/b276b99a50c9/
Log: fix translation
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
@@ -122,7 +122,7 @@
len(effectinfo.write_descrs_arrays) == 1
):
# Fish the descr out of the effectinfo
- cache =
self.heap_array_cache.get(effectinfo.write_descrs_arrays[0])
+ cache =
self.heap_array_cache.get(effectinfo.write_descrs_arrays[0], None)
if cache is not None:
# XXX: in theory the indices of the copy could be
# looked at
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit