[pypy-commit] pypy default: fix translation
alex_gaynor
noreply at buildbot.pypy.org
Sun Sep 29 18:10:02 CEST 2013
Author: Alex Gaynor <alex.gaynor at gmail.com>
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
More information about the pypy-commit
mailing list