• Russ Cox's avatar
    runtime: prepare for 64-bit ints · 0b08c948
    Russ Cox authored
    This CL makes the runtime understand that the type of
    the len or cap of a map, slice, or string is 'int', not 'int32',
    and it is also careful to distinguish between function arguments
    and results of type 'int' vs type 'int32'.
    
    In the runtime, the new typedefs 'intgo' and 'uintgo' refer
    to Go int and uint. The C types int and uint continue to be
    unavailable (cause intentional compile errors).
    
    This CL does not change the meaning of int, but it should make
    the eventual change of the meaning of int on amd64 a bit
    smoother.
    
    Update #2188.
    
    R=iant, r, dave, remyoudompheng
    CC=golang-dev
    https://golang.org/cl/6551067
    0b08c948
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...