]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] 9a: make RET a synonym for RETURN; use "g" instead of "R30"
authorAustin Clements <austin@google.com>
Tue, 18 Nov 2014 20:18:52 +0000 (15:18 -0500)
committerAustin Clements <austin@google.com>
Tue, 18 Nov 2014 20:18:52 +0000 (15:18 -0500)
commitcf06ea68d5eb53937c315baaa80d32e4e7ebe047
tree36528952da4b4d0f77e407a9eb4c748b98bb0c8f
parent1a68ac2538da55f1a130e30ad074fd074ef9e7de
[dev.cc] 9a: make RET a synonym for RETURN; use "g" instead of "R30"

Previously, 9a was the only assembler that had a different
name for RET, causing unnecessary friction in simple files
that otherwise assembled on all architectures.  Add RET so
these work on 9a.

This also renames "R30" to "g" to avoid unintentionally
clobbering g in assembly code.  This parallels a change made
to 5a.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/178030043
src/cmd/9a/lex.c