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