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

Neil Schemenauer nas at arctrix.com
Mon Oct 24 02:24:29 CEST 2005

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
number of iterations is bounded by the number of jumps.  I think it
would be unlikey to require more than one iteration.


More information about the Compiler-sig mailing list