[pypy-commit] pypy default: Ah sorry, re 69cadfd7c8e1. Found how to reproduce (translate -Ojit,

arigo noreply at buildbot.pypy.org
Sat Jun 11 17:53:23 CEST 2011

Author: Armin Rigo <arigo at tunes.org>
Changeset: r44886:0e02f7346cf0
Date: 2011-06-11 17:55 +0200

Log:	Ah sorry, re 69cadfd7c8e1. Found how to reproduce (translate -Ojit,
	of course). Add a "correct" fix.

diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/llsupport/descr.py
--- a/pypy/jit/backend/llsupport/descr.py
+++ b/pypy/jit/backend/llsupport/descr.py
@@ -1,5 +1,6 @@
 import py
 from pypy.rpython.lltypesystem import lltype, rffi, llmemory, rclass
+from pypy.rpython.lltypesystem.lloperation import llop
 from pypy.jit.backend.llsupport import symbolic, support
 from pypy.jit.metainterp.history import AbstractDescr, getkind, BoxInt, BoxPtr
 from pypy.jit.metainterp.history import BasicFailDescr, LoopToken, BoxFloat
@@ -149,6 +150,7 @@
 class BaseArrayDescr(AbstractDescr):
     _clsname = ''
+    tid = llop.combine_ushort(lltype.Signed, 0, 0)
     def get_base_size(self, translate_support_code):
         basesize, _, _ = symbolic.get_array_token(_A, translate_support_code)

More information about the pypy-commit mailing list