summaryrefslogtreecommitdiff
path: root/src/runtime/arch_power64le.h
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
commit05d42f8a61328aa7ea55887f601286b597caf0da (patch)
tree79010d336cdcf748fe4c23cbe7d8487478072c50 /src/runtime/arch_power64le.h
parentc9851bece1a56434cf60ad6b98694a027599d1f6 (diff)
downloadgo-05d42f8a61328aa7ea55887f601286b597caf0da.tar.gz
[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://codereview.appspot.com/159670043
Diffstat (limited to 'src/runtime/arch_power64le.h')
0 files changed, 0 insertions, 0 deletions