Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
do the ++ optimization for normal code now
  • Loading branch information
TimToady committed Dec 14, 2015
1 parent e62d9a7 commit de23614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Optimizer.nqp
Expand Up @@ -1414,7 +1414,7 @@ class Perl6::Optimizer {
}
}
}
elsif $!level >= 3 &&
elsif $!level >= 2 &&
($op.name eq '&prefix:<++>' ||
$op.name eq '&postfix:<++>' && $!void_context)
{
Expand Down

0 comments on commit de23614

Please sign in to comment.