Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach Spesh Inline About Returning By Unboxing
Needed whenever an inlinee has a return_o op that matches up to an invoke_i/n/s in the inliner. Interestingly, seems to only happen once during the entirety of rakudo's build process: in the optimizer's "simplify_refs" routine. Also, it only happens once smart_strify/_numify can become a method call for .Str/.Num that also gets inlined, which is what the following commits implement.
- Loading branch information
Showing
1 changed file
with
35 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