From 4526709f37f1c59a5acc07ce3853a564648a549a Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Sun, 22 Feb 2015 11:44:07 +0100 Subject: [PATCH] Unbreak profiling in rakudo --- src/vm/moar/HLL/Backend.nqp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/moar/HLL/Backend.nqp b/src/vm/moar/HLL/Backend.nqp index d8043702ee..6cbc84727f 100644 --- a/src/vm/moar/HLL/Backend.nqp +++ b/src/vm/moar/HLL/Backend.nqp @@ -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();