1
0
mirror of https://github.com/golang/go synced 2024-10-05 10:31:22 -06:00
go/src/cmd/8c
Ron Minnich 1bc1caa802 cc: change cas to newcase
Change the name of cas() in cc to newcase() to avoid a NIX conflict.
cas() is used in cc to create a new Case struct. There is a name
conflict in that cas() is a commonly-used
name for compare and swap. Since cas() is only used internally
in the compiler in 3 places, change the name to avoid a wider
conflict with the NIX runtime. This issue might well come up on
other OSes in the future anyway, as the name is fairly common.

R=rsc
CC=golang-dev
https://golang.org/cl/5294071
2011-10-26 15:27:59 -07:00
..
cgen64.c gc: align structs according to max alignment of fields 2010-12-13 16:22:19 -05:00
cgen.c cc: nit: silence comment warnings 2011-06-19 13:58:08 +10:00
div.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
doc.go
gc.h cc: change cas to newcase 2011-10-26 15:27:59 -07:00
list.c 6c, 8c: show line numbers in -S output 2010-09-10 11:53:51 -04:00
machcap.c
Makefile build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
mul.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
peep.c build: use gcc -Werror 2011-04-13 16:18:09 -04:00
reg.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
sgen.c
swt.c 5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths 2011-09-07 15:49:56 -04:00
txt.c build: use gcc -Werror 2011-04-13 16:18:09 -04:00