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 | 591378011b272416e0a90d25aae8900e6d70d7cc (patch) | |
tree | 0bf7df2d1e783b17373fdf95f2fa2294f68586db /src/runtime/runtime.h | |
parent | 59a3de87634517a57dfd2648b49a22534c8c6083 (diff) | |
download | go-591378011b272416e0a90d25aae8900e6d70d7cc.tar.gz |
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://codereview.appspot.com/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 37728b413..abd53c4ba 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 |