Skip to content

Commit

Permalink
make $filename param optional on moar too
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS authored and peschwa committed Mar 20, 2015
1 parent 05f2a4e commit 366b1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/HLL/Backend.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HLL::Backend::MoarVM {
)))));
}
}
method run_profiled($what, $filename) {
method run_profiled($what, $filename?) {
my @END := nqp::gethllsym('perl6', '@END_PHASERS');
@END.push: -> { self.dump_profile_data($prof_end_sub(), $filename) } if nqp::defined(@END);
self.ensure_prof_routines();
Expand Down

0 comments on commit 366b1ea

Please sign in to comment.