Re: [pypy-dev] Telling the JIT to remove a stack array

2014-02-24 Thread Maciej Fijalkowski
On Mon, Feb 24, 2014 at 9:49 PM, Timothy Baldridge wrote: > That doc helped a lot, and the bit on self = hint(self...) solved several > more issues. I'm glad I didn't write just so we know what the semantics are ;-) > > > Thanks, > > Timothy > > > On Mon, Feb 24, 2014 at 1:44 PM, Maciej Fijalkow

Re: [pypy-dev] Telling the JIT to remove a stack array

2014-02-24 Thread Timothy Baldridge
That doc helped a lot, and the bit on self = hint(self...) solved several more issues. Thanks, Timothy On Mon, Feb 24, 2014 at 1:44 PM, Maciej Fijalkowski wrote: > since we managed to even write a document, please read it ;-) > > http://doc.pypy.org/en/latest/jit/virtualizable.html > > On Mon

Re: [pypy-dev] Telling the JIT to remove a stack array

2014-02-24 Thread Maciej Fijalkowski
since we managed to even write a document, please read it ;-) http://doc.pypy.org/en/latest/jit/virtualizable.html On Mon, Feb 24, 2014 at 9:37 PM, Timothy Baldridge wrote: > That did the trick. My "count up" program now consists of int_eq, a guard > and int_add, that's what I wanted to see. Th

Re: [pypy-dev] Telling the JIT to remove a stack array

2014-02-24 Thread Timothy Baldridge
That did the trick. My "count up" program now consists of int_eq, a guard and int_add, that's what I wanted to see. Thanks! Timothy On Sun, Feb 23, 2014 at 1:06 AM, Armin Rigo wrote: > Hi Timothy, > > On 23 February 2014 01:24, Timothy Baldridge wrote: > > I tried digging into the PyPy sourc

Re: [pypy-dev] Telling the JIT to remove a stack array

2014-02-23 Thread Armin Rigo
Hi Timothy, On 23 February 2014 01:24, Timothy Baldridge wrote: > I tried digging into the PyPy source to find how how this is done there, but > I haven't been able to find it yet. pypy/interpreter/pyframe.py: self.locals_stack_w. The trick is that it's an attribute of a "frame" class, which is