-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split
show_ir
so line printer can be used elsewhere (#35952)
Currently JuliaInterpreter & Debugger need to print just a subset of CodeInfo statements (those surrounding the current program counter). Currently they print the whole thing to an IOBuffer, split the lines, and keep just a subset. Unfortunately, because some statements print over multiple lines, it's easy to get misaligned. This makes it possible to call the standard printer for a specified line.
- Loading branch information
Showing
1 changed file
with
81 additions
and
69 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