Skip to content
Browse files

Make a list into list_s in QAST/Compiler.nqp.

  • Loading branch information...
1 parent 17e5ba6 commit fbe94c9edc91b045f0cd4d3363a747d98d3fdc69 @arnsholt arnsholt committed Mar 30, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/QAST/Operations.nqp
View
4 src/QAST/Operations.nqp
@@ -1215,8 +1215,8 @@ QAST::Operations.add_core_op('handle', -> $qastcomp, $op {
$num_pops := $num_pops + 1;
}
if @other {
- my @hnames;
- for @other { nqp::push(@hnames, %handler_names{$_}); }
+ my @hnames := nqp::list_s();
+ for @other { nqp::push_s(@hnames, %handler_names{$_}); }
$other_label := PIRT::Label.new(:name($qastcomp.unique('catch_handler_')));
$ops.push_pirop('new', $reg, "'ExceptionHandler'",
"[" ~ nqp::join(", ", @hnames) ~ "]");

0 comments on commit fbe94c9

Please sign in to comment.
Something went wrong with that request. Please try again.