[pypy-dev] custom interpreter split_block error

Maciej Fijalkowski fijall at gmail.com
Sat Aug 11 09:26:53 CEST 2012


On Fri, Aug 10, 2012 at 11:15 PM, Armin Rigo <arigo at tunes.org> wrote:
> Hi,
>
> On Fri, Aug 10, 2012 at 11:06 PM, Timothy Baldridge
> <tbaldridge at gmail.com> wrote:
>>                 jitdriver.jit_merge_point(ip = self._ip,
>>                                           func = self._call_stack[-1],
>>                                           args = self._arg_stack[-1],
>>                                           stack = self._sp)
>>
>>
>> From what I can tell of the source, this is something to do with one of my
>> variables infact being a constant and not a variable. What am I doing wrong?
>
> It's impossible to answer you without seeing the source of the whole
> interpreter.  You have to know precisely which of the four variables
> turned into a constant; then it should be easy to follow back why.
> Constantness can only follow from translation-time constants, but
> sometimes a bit indirectly (e.g. maybe self._arg_stack is a list in
> which you only ever put one translation-time constant).
>
>
> A bientôt,
>
> Armin.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev

You get a similar message when you just forget to list an alive
variable in jit_merge_point.


More information about the pypy-dev mailing list