Commits

Alex Gaynor committed b276b99

fix translation

  • Participants
  • Parent commits 7bf619e

Comments (0)

Files changed (1)

File rpython/jit/metainterp/heapcache.py

                     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