Created
July 28, 2019 11:22
-
-
Save timo/e66b190dfde09806f8757a4ce81f1fa7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/vm/moar/HLL/Backend.nqp b/src/vm/moar/HLL/Backend.nqp | |
index 687dcf1a1..787ec8738 100644 | |
--- a/src/vm/moar/HLL/Backend.nqp | |
+++ b/src/vm/moar/HLL/Backend.nqp | |
@@ -615,7 +615,9 @@ class HLL::Backend::MoarVM { | |
my str $template; | |
if !$want_json && !$want_sql { | |
- my $temppath := nqp::backendconfig()<prefix> ~ '/share/nqp/lib/profiler/template.html'; | |
+ my $nqpconfig := nqp::hash; | |
+ hll-config($nqpconfig); | |
+ my $temppath := $nqpconfig<prefix> ~ '/share/nqp/lib/profiler/template.html'; | |
$template := try slurp('src/vm/moar/profiler/template.html'); | |
unless $template { | |
$template := try slurp($temppath); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment