diff options
| author | Russ Cox <rsc@golang.org> | 2015-02-05 11:53:33 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-02-13 17:31:16 +0000 |
| commit | 5c87cf76082188ab1f86cbf4576500f347b803be (patch) | |
| tree | 39232abf8b8d6473fa2348e55b721a05ab12b68a /src/runtime/sys_linux_arm.s | |
| parent | acba34e45f78ca9d0eaa820051258a33b565ea22 (diff) | |
| download | go-5c87cf76082188ab1f86cbf4576500f347b803be.tar.xz | |
cmd/gc: minor adjustments for C to Go translation
- remove a few uses of ? :
- rename variables named len
- rewrite a few gotos as nested switches
- move goto targets to scope allowed by Go
- use consistent return type of anyregalloc
(was int or int32 in different places)
- remove unused nr variable in agen
- include proper headers in generated builtin1.c
- avoid strange sized %E formats (%-6E, %2E)
- change gengcmask argument from uint8[16] to uint8*
(diagnosed by c2go; not an array in any real sense).
- replace #ifdef XXX with comment block in 5g/peep.c
- expand and remove FAIL macro from 5g
- expand and remove noimpl macro from 9g
- print regalloc errors to stdout in 8g
(only use of fprint(2, ...) in all compilers)
Still producing bit-for-bit identical output.
Change-Id: Id46efcd2a89241082b234f63f375b66f2754d695
Reviewed-on: https://go-review.googlesource.com/4646
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/sys_linux_arm.s')
0 files changed, 0 insertions, 0 deletions
