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: - removed

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 name

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-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

Re: Computed-goto Patch

2002-03-27 Thread Michel J Lambert
-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 Steve Fink
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 stuff work when used internally. I don't know if it'll get committed, though. Hm, on a second look, I think they may not conflict after all. I don't

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

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

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.

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

Re: Computed-goto Patch

2002-03-26 Thread Michel J Lambert
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 late working on computed goto core just now, and had hacked ops2c.pl

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, Simon