• 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
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
godoc Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
prof Loading commit data...
vet Loading commit data...
yacc Loading commit data...