aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-10-28 21:50:16 -0400
committerRuss Cox <rsc@golang.org>2014-10-28 21:50:16 -0400
commitb55791e2008703b33883e48e72a347ba07a65486 (patch)
tree2dc3ed44dc71a1aa6af2d9fbe331464408104d79 /src/runtime/debug
parent87b4149b22feb9d8d52da1730b455e39436a3a8d (diff)
downloadgo-b55791e2008703b33883e48e72a347ba07a65486.tar.xz
[dev.power64] cmd/5a, cmd/6a, cmd/8a, cmd/9a: make labels function-scoped
I removed support for jumping between functions years ago, as part of doing the instruction layout for each function separately. Given that, it makes sense to treat labels as function-scoped. This lets each function have its own 'loop' label, for example. Makes the assembly much cleaner and removes the last reason anyone would reach for the 123(PC) form instead. Note that this is on the dev.power64 branch, but it changes all the assemblers. The change will ship in Go 1.5 (perhaps after being ported into the new assembler). Came up as part of CL 167730043. LGTM=r R=r CC=austin, dave, golang-codereviews, minux https://golang.org/cl/159670043
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions