Re: Computed-goto Patch

2002-03-30 Thread Dan Sugalski
At 11:19 AM -0800 3/29/02, Steve Fink wrote: >On Thu, Mar 28, 2002 at 12:18:48AM -0500, Michel J Lambert wrote: >> Attached are my revised files. pbc2c.pl uses Parrot::OpTrans::Compiled, >> and this patch uses Parrot::OpTrans::CGoto. It also fixed the issues with >> the last patch: >> >> - rem

Re: Computed-goto Patch

2002-03-29 Thread Steve Fink
On Thu, Mar 28, 2002 at 12:18:48AM -0500, Michel J Lambert wrote: > Attached are my revised files. pbc2c.pl uses Parrot::OpTrans::Compiled, > and this patch uses Parrot::OpTrans::CGoto. It also fixed the issues with > the last patch: > > - removed inadvertant keyed commenting > - fixed #include n

Re: Computed-goto Patch

2002-03-27 Thread Michel J Lambert
Attached are my revised files. pbc2c.pl uses Parrot::OpTrans::Compiled, and this patch uses Parrot::OpTrans::CGoto. It also fixed the issues with the last patch: - removed inadvertant keyed commenting - fixed #include name - fixed pbc2c.pl - should have unix line endings Please let me know if th

Re: Computed-goto Patch

2002-03-27 Thread Steve Fink
to subclass the other (or pull out a common superclass); I don't know. > Problems with my patch: > + includes a commenting-out of the keyed function. That probably should > not be in this computed-goto patch. I just submitted a patch that may conflict with this, that makes the keyed stu

Re: Computed-goto Patch

2002-03-27 Thread Michel J Lambert
h my patch: + includes a commenting-out of the keyed function. That probably should not be in this computed-goto patch. + no changes to pbc2c.pl should be required. Those changes should be made into a seperate 'indenting' patch. + misnamed the #include'd file in runops_cores.c I'll wait on the issue of pbc2c.pl before I submit a revised patch. Thanks for looking into this, Mike Lambert

Re: Computed-goto Patch

2002-03-27 Thread Jason Gloudon
On Wed, Mar 27, 2002 at 02:55:59AM -0500, Michel J Lambert wrote: > Attached is a patch to implement computed-goto on gcc, taken from the > original post by Daniel Grunblatt: > http:[EMAIL PROTECTED]/msg06255.html The patch is slightly broken, core_cg_ops.h in interpreter.c versus core_ops_cg.h e

Re: Computed-goto Patch

2002-03-27 Thread Simon Cozens
Melvin Smith: > Simon is on vacation and may or may > not be doing anything with assembler, keyed aggregate, etc. I'm not on vacation yet. :) I'm not doing any more work on the assembler, but I'm leaving it to Jeff to decide whether or not to apply it. I think packfile.c will need updating when/i

Re: Computed-goto Patch

2002-03-27 Thread Melvin Smith
At 03:16 AM 3/27/2002 -0500, Michel J Lambert wrote: >Doh, sorry about that. > >If it makes you feel any better (or worse), I was in the midst of writing >up the email for fixing the pushp bug you mentioned, when up pops '[PATCH] >Stack fix' in my email inbox, turning my local bug fix into a nice

RE: Computed-goto Patch

2002-03-26 Thread Melvin Smith
At 12:16 AM 3/27/2002 -0800, Brent Dax wrote: >Melvin Smith: ># At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote: ># >Attached is a patch to implement computed-goto on gcc, taken from the ># Right now most of us have no clue whos doing what anymore besides Dan ># doing GC, Jeff doing unicode, S

Re: Computed-goto Patch

2002-03-26 Thread Michel J Lambert
CTED]> > To: Michel J Lambert <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: Re: Computed-goto Patch > > At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote: > >Attached is a patch to implement computed-goto on gcc, taken from the > > Wow, talk about timing, I was up

RE: Computed-goto Patch

2002-03-26 Thread Brent Dax
Melvin Smith: # At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote: # >Attached is a patch to implement computed-goto on gcc, taken from the # # Wow, talk about timing, I was up late working on computed goto core # just now, and had hacked ops2c.pl and CGoto.pm. I had to remove # prederef stuff u

Re: Computed-goto Patch

2002-03-26 Thread Melvin Smith
At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote: >Attached is a patch to implement computed-goto on gcc, taken from the Wow, talk about timing, I was up late working on computed goto core just now, and had hacked ops2c.pl and CGoto.pm. I had to remove prederef stuff until I could look at it.

Computed-goto Patch

2002-03-26 Thread Michel J Lambert
Attached is a patch to implement computed-goto on gcc, taken from the original post by Daniel Grunblatt: http:[EMAIL PROTECTED]/msg06255.html Changes since his original patch: + works with the current codebase + handles all jumps properly, and passes all tests (I'm not sure, but I don't believe t