Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Melvin Smith
However, I see your point. To be orthogonal would suggest that we implement the same feature for .pcc_call that we do for the .pcc_sub I meant .pcc_begin here since that is where the proto|non_proto goes. -Melvin

Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Melvin Smith
At 06:25 PM 10/26/2003 -0800, Steve Fink wrote: On Oct-26, Leopold Toetsch wrote: > Steve Fink <[EMAIL PROTECTED]> wrote: > > I am getting a seg fault when doing a very simple subroutine call with > > IMCC: > > > .sub _main > > newsub $P4, .Sub, _two_of > > $P6 = new Per

Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Steve Fink
On Oct-26, Leopold Toetsch wrote: > Steve Fink <[EMAIL PROTECTED]> wrote: > > I am getting a seg fault when doing a very simple subroutine call with > > IMCC: > > > .sub _main > > newsub $P4, .Sub, _two_of > > $P6 = new PerlHash > > .pcc_begin prototyped >

How?

2003-10-26 Thread Dmitry Nikolayev
Hello How can I be involved in the project? Maybe, some help is needed? If you're interesting about me: http://buildbn.net/resume.html Dmitry Nikolayev

Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Steve Fink
On Oct-26, Leopold Toetsch wrote: > Steve Fink <[EMAIL PROTECTED]> wrote: > > I am getting a seg fault when doing a very simple subroutine call with > > IMCC: > > > .sub _main > > newsub $P4, .Sub, _two_of > > $P6 = new PerlHash > > .pcc_begin prototyped >

NULL Px proposal (was Re: [BUG] IMCC looking in P3[0] for 1st arg)

2003-10-26 Thread Melvin Smith
At 07:21 PM 10/26/2003 +0100, Leopold Toetsch wrote: Steve Fink <[EMAIL PROTECTED]> wrote: > Although this does bring up another issue -- should parrot really be > seg faulting when it gets a uninitialized (null) PMC? The problem is of course that we call pmc->vtable->some_meth_od() on a NULL PMC.

Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Leopold Toetsch
Steve Fink <[EMAIL PROTECTED]> wrote: > Although this does bring up another issue -- should parrot really be > seg faulting when it gets a uninitialized (null) PMC? The problem is of course that we call pmc->vtable->some_meth_od() on a NULL PMC. We could do the checks always, slowing down each PM

Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Melvin Smith
At 11:50 PM 10/25/2003 -0700, Steve Fink wrote: newsub $P4, .Sub, _two_of Leo answered your question, I just wanted to point out that you can now write the above as: $P4 = newsub _two_of As Leo said, the call types conflict. In this case we eventually should be able to make IMCC warn y

LL3, Nov. 8, 2003, Call for participation

2003-10-26 Thread Jeremy Hylton
Call for Participation Lightweight Languages Workshop 2003 (LL3) = Saturday, November 8, 2003 MIT, Room 34-101, Cambridge, Mass. http://ll3.ai.mit.edu/ LL3 will be an intense, exciting, one-day forum bringing together the best programming language implem

[CVS ci] hash-utf8 benchmark

2003-10-26 Thread Leopold Toetsch
When the encoding of a hash and a lookup key doesn't match, we get a huge penalty on hash lookup: 0.702336 6.634617 ... DOD runs = 6052 Collect runs = 378 Collect memory = 17557328 It takes 10 times longer, an we have considerable DOD/GC stress. Do we really need to transcode strings for string_co

Re: [BUG] IMCC looking in P3[0] for 1st arg

2003-10-26 Thread Leopold Toetsch
Steve Fink <[EMAIL PROTECTED]> wrote: > I am getting a seg fault when doing a very simple subroutine call with > IMCC: > .sub _main > newsub $P4, .Sub, _two_of > $P6 = new PerlHash > .pcc_begin prototyped ^^ > .pcc_sub _t