在 2006/7/12 下午 8:16 時,Allison Randal 寫到:
[EMAIL PROTECTED] 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
Description: This is a digitally signed message part