From 2eccf0d18fcbb2f369b80567bb43da58054313b5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 14 Sep 2014 21:25:44 -0400 Subject: 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 --- src/runtime/runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/runtime.h') 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 -- cgit v1.3