improve vmgen.codeListing formatting (#10306)
* improve vmgen.codeListing formatting * address comments
This commit is contained in:
parent
06e3d3ab4d
commit
beed27b75d
3 changed files with 26 additions and 14 deletions
|
|
@ -86,7 +86,7 @@ proc codeListing(c: ControlFlowGraph, result: var string, start=0; last = -1) =
|
|||
result.add("\n")
|
||||
inc i
|
||||
if i in jumpTargets: result.add("L" & $i & ": End\n")
|
||||
|
||||
# consider calling `asciitables.alignTable`
|
||||
|
||||
proc echoCfg*(c: ControlFlowGraph; start=0; last = -1) {.deprecated.} =
|
||||
## echos the ControlFlowGraph for debugging purposes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue