Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
p6bindsig poisons lowering.
Unbreaks the Parrot build/test, at least.
  • Loading branch information
jnthn committed Apr 11, 2014
1 parent f128025 commit aeda9d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Perl6/Optimizer.nqp
Expand Up @@ -851,6 +851,9 @@ class Perl6::Optimizer {
if $optype eq 'bind' && nqp::istype($op[1], QAST::Op) && $op[1].op eq 'getlexouter' {
@!block_var_stack[nqp::elems(@!block_var_stack) - 1].register_getlexouter_bind($op);
}
elsif $optype eq 'p6bindsig' {
self.poison_var_lowering();
}
elsif $optype eq 'call' || $optype eq 'callmethod' || $optype eq 'chain' {
@!block_var_stack[nqp::elems(@!block_var_stack) - 1].register_call();
my str $callee := $op.name;
Expand Down

0 comments on commit aeda9d0

Please sign in to comment.