]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: minor clean-up in span6
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 18 Mar 2019 14:33:43 +0000 (07:33 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 19 Mar 2019 19:31:11 +0000 (19:31 +0000)
commitfc1e6915dc04aeb95c2f736f8c8805ba6a696c30
tree2514f06ecab6f4d0ef7fa264e4a2648b40f15e54
parente608ffda0828e8001c0d95dc5ead28472c05d74e
cmd/internal/obj/x86: minor clean-up in span6

* Reduce the scope of q.
* Remove duplicate handling of AADJSP.
* Move ab declaration closer to use.
* Collapse nested if statements.
* Change declaration of n for increased readability in context.
* Simplify AADJSP handling.

Passes toolstash-check.

Change-Id: I046369477db567f2f7c4a9c8d400ec9dd9c32f3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/168342
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/x86/asm6.go