Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [svn:parrot] r13270 - trunk/languages/perl6

0 views
Skip to first unread message

Allison Randal

unread,
Jul 12, 2006, 8:16:44 PM7/12/06
to parrot-...@perl.org
aud...@cvs.perl.org wrote:
> Modified: trunk/languages/perl6/perl6.pir
> ==============================================================================
> --- trunk/languages/perl6/perl6.pir (original)
> +++ trunk/languages/perl6/perl6.pir Wed Jul 12 17:05:26 2006
> @@ -24,9 +24,7 @@
>
> .namespace [ 'Perl6' ]
>
> -.sub '__loadlib' :immediate
> - $P1 = loadlib 'perl6_group'
> -.end
> +.loadlib 'perl6_group'
>
> .sub '__onload' :load
> $P1 = loadlib 'perl6_group'

If Leo's comment about .loadlib being compile-and-runtime is already
implemented, then you should be able to eliminate that runtime call to
the loadlib opcode too.

Allison

Audrey Tang

unread,
Jul 13, 2006, 3:35:56 AM7/13/06
to Allison Randal, parrot-...@perl.org

在 2006/7/12 下午 8:16 時,Allison Randal 寫到:

> aud...@cvs.perl.org wrote:
>> Modified: trunk/languages/perl6/perl6.pir
>> =====================================================================

>> =========
>> --- trunk/languages/perl6/perl6.pir (original)
>> +++ trunk/languages/perl6/perl6.pir Wed Jul 12 17:05:26 2006
>> @@ -24,9 +24,7 @@
>> .namespace [ 'Perl6' ]
>> -.sub '__loadlib' :immediate
>> - $P1 = loadlib 'perl6_group'
>> -.end
>> +.loadlib 'perl6_group'
>> .sub '__onload' :load
>> $P1 = loadlib 'perl6_group'
>
> If Leo's comment about .loadlib being compile-and-runtime is
> already implemented, then you should be able to eliminate that
> runtime call to the loadlib opcode too.

Indeed, though as I tested it (both at the time of the commit and at
this moment), that appears to not be the case yet.

Thanks,
Audrey

PGP.sig

Audrey Tang

unread,
Jul 13, 2006, 2:56:05 PM7/13/06
to Audrey Tang, Allison Randal, parrot-...@perl.org

在 2006/7/13 上午 3:35 時,Audrey Tang 寫到:

>> If Leo's comment about .loadlib being compile-and-runtime is
>> already implemented, then you should be able to eliminate that
>> runtime call to the loadlib opcode too.
>
> Indeed, though as I tested it (both at the time of the commit and
> at this moment), that appears to not be the case yet.

Apologies; Leo did make it happen, it's just a "make realclean" is
needed before it can take effect.

I've taken out the extra "loadlib" call in :load in perl6.pir.

Thanks,
Audrey

PGP.sig
0 new messages