]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: prepare for 64-bit ints
authorRuss Cox <rsc@golang.org>
Mon, 24 Sep 2012 18:59:44 +0000 (14:59 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 24 Sep 2012 18:59:44 +0000 (14:59 -0400)
commit650160e36a2f8d205c1a9ecfcf8f5611c1af3de3
treebe7391cfd145643f32c4cf0fed503097dc47eb82
parent0bf46d0cf3c879d4001cfd4b9c3354f0f8ca3f62
cmd/gc: prepare for 64-bit ints

This CL makes the compiler understand that the type of
the len or cap of a map, slice, or string is 'int', not 'int32'.
It does not change the meaning of int, but it should make
the eventual change of the meaning of int in 6g a bit smoother.

Update #2188.

R=ken, dave, remyoudompheng
CC=golang-dev
https://golang.org/cl/6542059
16 files changed:
src/cmd/5g/galign.c
src/cmd/6g/cgen.c
src/cmd/6g/galign.c
src/cmd/6g/gg.h
src/cmd/6g/gobj.c
src/cmd/6g/gsubr.c
src/cmd/6g/reg.c
src/cmd/8g/galign.c
src/cmd/gc/align.c
src/cmd/gc/gen.c
src/cmd/gc/go.h
src/cmd/gc/obj.c
src/cmd/gc/reflect.c
src/cmd/gc/runtime.go
src/cmd/gc/sinit.c
src/cmd/gc/walk.c