Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Undo busted change to dynamic compilation. Gets us further.
  • Loading branch information
jnthn committed Feb 18, 2012
1 parent 4017a66 commit 0e2a54e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Perl6/World.pm
Expand Up @@ -766,12 +766,10 @@ class Perl6::World is HLL::World {
}
};
my $stub := sub (*@pos, *%named) {
if $precomp {
$precomp(|@pos, |%named);
}
else {
unless $precomp {
$compiler_thunk();
}
$precomp(|@pos, |%named);
};
pir::setprop__vPsP($stub, 'COMPILER_THUNK', $compiler_thunk);
pir::set__vPS($stub, $code_past.name);
Expand Down

0 comments on commit 0e2a54e

Please sign in to comment.