On Sat, Jun 11, 2011 at 5:53 PM, arigo <nore...@buildbot.pypy.org> wrote: > Author: Armin Rigo <ar...@tunes.org> > Branch: > Changeset: r44886:0e02f7346cf0 > Date: 2011-06-11 17:55 +0200 > http://bitbucket.org/pypy/pypy/changeset/0e02f7346cf0/ > > Log: Ah sorry, re 69cadfd7c8e1. Found how to reproduce (translate -Ojit, > of course). Add a "correct" fix.
SizeDescr also uses tid. Maybe we should have BaseLLDescr simply? > > 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) > _______________________________________________ > pypy-commit mailing list > pypy-com...@python.org > http://mail.python.org/mailman/listinfo/pypy-commit > _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev