aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorHeschi Kreinick <heschi@google.com>2017-10-19 18:59:41 -0400
committerHeschi Kreinick <heschi@google.com>2017-10-24 20:22:05 +0000
commit73f1a1a1a7f7781c095ef6aebe8b0adf0669d6b2 (patch)
tree75d85a27411218fc9451db973b3965c64dc4cc4d /src/database/sql/sql.go
parent81ec7256072ed5e20b8827c583193258769aebc0 (diff)
downloadgo-73f1a1a1a7f7781c095ef6aebe8b0adf0669d6b2.tar.xz
cmd/compile/internal/ssa: use reverse postorder traversal
Instead of the hand-written control flow analysis in debug info generation, use a reverse postorder traversal, which is basically the same thing. It should be slightly faster. More importantly, the previous version simply gave up in the case of non-reducible functions, and produced output that caused a later stage to crash. It turns out that there's a non-reducible function in compress/flate, so that wasn't a theoretical issue. With this change, all blocks will be visited, even for non-reducible functions. Change-Id: Id47536764ee93203c6b4105a1a3013fe3265aa12 Reviewed-on: https://go-review.googlesource.com/73110 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions