diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-12 00:01:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-12 00:01:09 +0000 |
commit | 2fa39ad859e59a5ad5796e522a4842717b2f6e0c (patch) | |
tree | 783acf11ed4625d6499f731501d984f25fa103fc /libgo/runtime/go-cgo.c | |
parent | ca76ae5c35f58f0ea40f656d3e555f2c740cf4ec (diff) | |
download | gcc-2fa39ad859e59a5ad5796e522a4842717b2f6e0c.zip gcc-2fa39ad859e59a5ad5796e522a4842717b2f6e0c.tar.gz gcc-2fa39ad859e59a5ad5796e522a4842717b2f6e0c.tar.bz2 |
runtime: Merge master revision 19185.
This revision renames several files in the runtime directory
from .c to .goc.
From-SVN: r212472
Diffstat (limited to 'libgo/runtime/go-cgo.c')
-rw-r--r-- | libgo/runtime/go-cgo.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libgo/runtime/go-cgo.c b/libgo/runtime/go-cgo.c index 9ba1ea7..2b7baa4 100644 --- a/libgo/runtime/go-cgo.c +++ b/libgo/runtime/go-cgo.c @@ -177,19 +177,3 @@ _cgo_panic (const char *p) __go_panic (e); } - -/* Return the number of CGO calls. */ - -int64 runtime_NumCgoCall (void) __asm__ (GOSYM_PREFIX "runtime.NumCgoCall"); - -int64 -runtime_NumCgoCall (void) -{ - int64 ret; - M* m; - - ret = 0; - for (m = runtime_atomicloadp (&runtime_allm); m != NULL; m = m->alllink) - ret += m->ncgocall; - return ret; -} |