|
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 issue 2188.
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+81 lines, -78 lines) |
Patch |
|
M |
src/cmd/5g/galign.c
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/cmd/6g/cgen.c
|
View
|
1
2
|
13 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/cmd/6g/galign.c
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/cmd/6g/gg.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/cmd/6g/gobj.c
|
View
|
1
2
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/cmd/6g/gsubr.c
|
View
|
1
2
|
6 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/cmd/6g/reg.c
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/cmd/8g/galign.c
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/align.c
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/gen.c
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/go.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/obj.c
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/reflect.c
|
View
|
1
2
|
4 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/runtime.go
|
View
|
1
2
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/sinit.c
|
View
|
1
2
3
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/cmd/gc/walk.c
|
View
|
1
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 6
|