mirror of
https://github.com/golang/go
synced 2024-11-20 10:54:49 -07:00
b55791e200
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 |
||
---|---|---|
.. | ||
a.h | ||
a.y | ||
doc.go | ||
lex.c | ||
Makefile | ||
y.tab.c | ||
y.tab.h |