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

[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

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

Re: Trying to spear a phalanx shield for pod

2003-10-26 Thread Michael G Schwern
On Sun, Oct 26, 2003 at 04:45:48PM +1100, Andrew Savige wrote: > Michael G Schwern wrote: > > Since skip_all will exit immediately you can fold that big "everything > > inside the else block" away. > > > > eval 'use Test::Pod'; > > my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95; > > plan s

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

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

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

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

Test dying after running

2003-10-26 Thread Tony Bowden
In one of my local applications, the regression test has just started to fail with: dubious Test returned status 0 (wstat 14, 0xe) Constant subroutine __need_size_t redefined at /usr/lib/perl/5.8.0/stddef.ph line 147. after all the subtests completed successfully Bizarrely this only happens

Re: Trying to spear a phalanx shield for pod

2003-10-26 Thread Andrew Savige
Michael G Schwern wrote: > On Sun, Oct 26, 2003 at 04:45:48PM +1100, Andrew Savige wrote: >> There is a misprint in this line: >>my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95; >> It should read: >>my $have_testpod = !$@ && $Test::Pod::VERSION >= 0.95; > > I deliberately used and i

Re: Alternately named arguments

2003-10-26 Thread Damian Conway
Luke Palmer asked: Presuming you can do: (who => $name, why => $reason) := (why => $because, who => "me"); (from A6) Does that imply that you can do: sub routine (name => $nombre, date => $fecha) {...} If we're consistent about lvalues of binds being the same as argument lists, it prob

Re: Alternately named arguments

2003-10-26 Thread Luke Palmer
Hi Damian, welcome back! Damian Conway writes: > Luke Palmer asked: > > >Presuming you can do: > > > >(who => $name, why => $reason) := (why => $because, who => "me"); > > > >(from A6) > > > >Does that imply that you can do: > > > >sub routine (name => $nombre, date => $fecha) {...} > >