diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2017-03-10 16:03:56 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2017-03-20 22:58:45 +0000 |
| commit | ea8c7dae4fe2fa9cc5ef258582086941aec751ae (patch) | |
| tree | 065741810da32d8eacf18efada42fd9ba12baf83 /src/encoding/json | |
| parent | 42a915c933e44784e70c9e61e4fe77c133580895 (diff) | |
| download | go-ea8c7dae4fe2fa9cc5ef258582086941aec751ae.tar.xz | |
cmd/compile: sort CFG blocks in PC order during liveness
This CL changes the order that liveness analysis visits CFG blocks to
PC order, rather than RPO. This doesn't meaningfully change anything
except that the PCDATA_StackMapIndex values will be assigned in PC
order too.
However, this does have the benefit that the subsequent CL to port
liveness analysis to the SSA CFG (which has blocks in PC order) will
now pass toolstash-check.
Change-Id: I1de5a2eecb8027723a6e422d46186d0c63d48c8d
Reviewed-on: https://go-review.googlesource.com/38086
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions
