|
cmd/cc, runtime: preserve C runtime type names in generated Go
uintptr or uint64 in the runtime C were turning into uint in the Go,
bool was turning into uint8, and so on. Fix that.
Also delete Go wrappers for C functions.
The C functions can be called directly now
(but still eventually need to be converted to Go).
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+247 lines, -340 lines) |
Patch |
 |
M |
src/cmd/cc/dcl.c
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cc/godefs.c
|
View
|
1
|
1 chunk |
+10 lines, -43 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/arch_386.go
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/arch_amd64.go
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/arch_amd64p32.go
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/arch_arm.go
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/asm_386.s
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/asm_amd64.s
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/asm_amd64p32.s
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/asm_arm.s
|
View
|
1
2
3
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/chan.go
|
View
|
1
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/export_test.go
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/hashmap.go
|
View
|
1
|
24 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/hashmap_fast.go
|
View
|
1
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/iface.go
|
View
|
1
2
3
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/malloc.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/malloc.go
|
View
|
1
|
12 chunks |
+20 lines, -17 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/mgc0.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/mheap.c
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/mprof.go
|
View
|
1
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/mprof.goc
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/print.go
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/proc.go
|
View
|
1
|
2 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/rdebug.go
|
View
|
1
|
2 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/runtime.h
|
View
|
1
|
1 chunk |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/sema.go
|
View
|
1
|
8 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/sigqueue.go
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/slice.go
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/string.go
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/stubs.go
|
View
|
1
|
6 chunks |
+66 lines, -72 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/stubs.goc
|
View
|
1
2
3
4
|
3 chunks |
+0 lines, -51 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/syscall_windows.go
|
View
|
1
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/thunk.s
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/time.go
|
View
|
1
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
Total messages: 15
|