Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
note end of module loading in debug mode
  • Loading branch information
moritz committed Jun 11, 2012
1 parent eef772d commit 1b00e64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Perl6/ModuleLoader.pm
Expand Up @@ -126,6 +126,7 @@ class Perl6::ModuleLoader {
my $*MAIN_CTX;
pir::load_bytecode(%chosen<load>);
%modules_loaded{%chosen<key>} := $module_ctx := $*MAIN_CTX;
DEBUG("done loading ", %chosen<load>) if $DEBUG;
}
else {
# Read source file.
Expand All @@ -143,6 +144,8 @@ class Perl6::ModuleLoader {
my $*MAIN_CTX;
$eval();
%modules_loaded{%chosen<key>} := $module_ctx := $*MAIN_CTX;
DEBUG("done loading ", %chosen<pm>) if $DEBUG;

}
pir::set_hll_global__vsP('GLOBAL', $preserve_global);
}
Expand Down

0 comments on commit 1b00e64

Please sign in to comment.