]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: improve CFG size in ssa.html
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 7 Mar 2020 21:36:36 +0000 (13:36 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 11 Mar 2020 11:47:34 +0000 (11:47 +0000)
commitc6fef1fb52e9660ce2226a19508fdaacf71e46a9
tree783a5be75c5ab7f225e125483b17bf4c86467137
parent6bed304244493508191501ad63fdc74b41e19653
cmd/compile: improve CFG size in ssa.html

This change forces CFGs to take the full width of their column
and allows them to be as tall as necessary.

In my (recent) experience, this makes them far less likely to
be cropped, which makes them much more useful.

On rare occasions, this can lead to gigantic CFGs,
but if you've bothered to explicitly request a CFG,
this is still better than an irrevocably truncated CFG.

Change-Id: I9a649ea57fa3c2792998bb71331a2580e429b36a
Reviewed-on: https://go-review.googlesource.com/c/go/+/222618
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/html.go