Skip to content

Commit 6758068

Browse files
committed
Use the new compilejast list ops.
1 parent f674b87 commit 6758068

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vm/jvm/HLL/Backend.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ class HLL::Backend::JVM {
6161

6262
method classfile($jast, *%adverbs) {
6363
if (%adverbs<target> eq 'classfile' || %adverbs<target> eq 'jar') && %adverbs<output> {
64-
nqp::compilejasttofile($jast.dump(), %adverbs<output>);
64+
nqp::compilejastlinestofile($jast.dump(), %adverbs<output>);
6565
nqp::null()
6666
}
6767
else {
68-
nqp::compilejast($jast.dump());
68+
nqp::compilejastlines($jast.dump());
6969
}
7070
}
7171

src/vm/jvm/QAST/JASTNodes.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class JAST::Class is JAST::Node {
4242
for @!methods {
4343
$_.dump(@dumped);
4444
}
45-
return nqp::join("\n", @dumped);
45+
return @dumped;
4646
}
4747
}
4848

0 commit comments

Comments
 (0)