diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-11-16 18:33:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-11-16 18:33:11 +0000 |
commit | 350767bf22688f7645fe959370240825a3cf0421 (patch) | |
tree | 9e5c736cd7c7630d6a53f936ec67bcef18a1db00 /libgo/runtime/runtime.h | |
parent | 660e6c2c127fdec06bfa428b08ab4123e37281a5 (diff) | |
download | gcc-350767bf22688f7645fe959370240825a3cf0421.zip gcc-350767bf22688f7645fe959370240825a3cf0421.tar.gz gcc-350767bf22688f7645fe959370240825a3cf0421.tar.bz2 |
runtime: replace runtime1.goc with Go and C code
A step toward eliminating goc2c.
Drop the exported parfor code; it was needed for tests in the past, but
no longer is. The Go 1.7 runtime no longer uses parfor.
Reviewed-on: https://go-review.googlesource.com/33324
From-SVN: r242509
Diffstat (limited to 'libgo/runtime/runtime.h')
-rw-r--r-- | libgo/runtime/runtime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h index 7d22631..50143fe 100644 --- a/libgo/runtime/runtime.h +++ b/libgo/runtime/runtime.h @@ -315,7 +315,8 @@ void runtime_mprofinit(void); #define runtime_getcallersp(p) __builtin_frame_address(0) int32 runtime_mcount(void) __asm__ (GOSYM_PREFIX "runtime.mcount"); -int32 runtime_gcount(void); +int32 runtime_gcount(void) + __asm__ (GOSYM_PREFIX "runtime.gcount"); void runtime_mcall(void(*)(G*)); uint32 runtime_fastrand1(void) __asm__ (GOSYM_PREFIX "runtime.fastrand1"); int32 runtime_timediv(int64, int32, int32*) @@ -512,7 +513,6 @@ void runtime_semacquire(uint32 volatile *, bool) __asm__ (GOSYM_PREFIX "runtime.semacquire"); void runtime_semrelease(uint32 volatile *) __asm__ (GOSYM_PREFIX "runtime.semrelease"); -int32 runtime_gomaxprocsfunc(int32 n); void runtime_procyield(uint32) __asm__(GOSYM_PREFIX "runtime.procyield"); void runtime_osyield(void) |