Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decrement # of calls in a block if any are optimized away
This unblocks more removing of magic variables (`$¢`, `$!`, `$/`, `$_`), which requires there to not be any calls in the block. So this example `my int $a = 0; sub inc-a() { ++$a };` before would have the first three magic variables still in the block, since even though the call to `&prefix:<++>` was optimized away, the count was still non-zero. Now they are all gone.
- Loading branch information
1 parent
fb25bd4
commit 4d19c23
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
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