On Fri, Aug 10, 2012 at 11:15 PM, Armin Rigo <[email protected]> wrote: > Hi, > > On Fri, Aug 10, 2012 at 11:06 PM, Timothy Baldridge > <[email protected]> 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 > [email protected] > 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. _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
