Skip to content

Commit

Permalink
Unbreak profiling in rakudo
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 22, 2015
1 parent db8d16d commit 4526709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/HLL/Backend.nqp
Expand Up @@ -39,7 +39,7 @@ class HLL::Backend::MoarVM {
}
method run_profiled($what, $filename) {
my @END := nqp::gethllsym('perl6', '@END_PHASERS');
@END.push: -> { self.dump_profile_data($prof_end_sub()) } if nqp::defined(@END);
@END.push: -> { self.dump_profile_data($prof_end_sub(), $filename) } if nqp::defined(@END);
self.ensure_prof_routines();
$prof_start_sub(nqp::hash());
my $res := $what();
Expand Down

0 comments on commit 4526709

Please sign in to comment.