diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-14 21:25:44 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-14 21:25:44 -0400 |
| commit | 2eccf0d18fcbb2f369b80567bb43da58054313b5 (patch) | |
| tree | fb0f13a588a60e78d4e5cf02b3dc59fc22ed5422 /src/runtime/runtime.h | |
| parent | 8e77a7ef6bce15e81b9a6ce5cb2fcbe47cd7ab84 (diff) | |
| download | go-2eccf0d18fcbb2f369b80567bb43da58054313b5.tar.xz | |
runtime: convert syscall_windows.c to Go
This is necessary because syscall.Syscall blocks, and the
garbage collector needs to be able to scan that frame while
it is blocked, and C frames have no garbage collection
information.
Windows builders are broken now due to this problem:
http://build.golang.org/log/152ca9a4be6783d3a8bf6e2f5b9fc265089728b6
LGTM=alex.brainman
R=alex.brainman
CC=golang-codereviews
https://golang.org/cl/144830043
Diffstat (limited to 'src/runtime/runtime.h')
| -rw-r--r-- | src/runtime/runtime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 37728b4130..abd53c4ba1 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -248,9 +248,9 @@ struct GCStats struct LibCall { - void* fn; + uintptr fn; uintptr n; // number of parameters - void* args; // parameters + uintptr args; // parameters uintptr r1; // return values uintptr r2; uintptr err; // error number |
