[Compiler-sig] AST: jump offsets wrong when EXTENDED_ARG is used

Neal Norwitz nnorwitz at gmail.com
Mon Oct 24 02:26:22 CEST 2005


On 10/23/05, Neil Schemenauer <nas at arctrix.com> wrote:
> On Sun, Oct 23, 2005 at 04:03:00PM -0700, Neal Norwitz wrote:
> > Yes.  I checked in some code that I believe works.  I don't know of
> > any other solution currently.  It would be great if you could review
> > and clean up my code.  I tried to do a little other cleanup but I'm
> > not sure if I really helped anything.  Reword the big comment (which
> > also tries to describe the issue) if you can express the issue more
> > clearly.
>
> It looks okay to me.  I don't think it's that bad of a hack.  The

Ok.  I'll see if anyone else comments.  I can remove the first part of
the comment.

> number of iterations is bounded by the number of jumps.  I think it
> would be unlikey to require more than one iteration.

Agreed.

n


More information about the Compiler-sig mailing list