aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2014-07-12 00:01:09 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-07-12 00:01:09 +0000
commit2fa39ad859e59a5ad5796e522a4842717b2f6e0c (patch)
tree783acf11ed4625d6499f731501d984f25fa103fc /libgo/runtime/runtime.c
parentca76ae5c35f58f0ea40f656d3e555f2c740cf4ec (diff)
downloadgcc-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/runtime.c')
-rw-r--r--libgo/runtime/runtime.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libgo/runtime/runtime.c b/libgo/runtime/runtime.c
index eb32a8d..1678a45 100644
--- a/libgo/runtime/runtime.c
+++ b/libgo/runtime/runtime.c
@@ -9,7 +9,6 @@
#include "runtime.h"
#include "array.h"
-#include "go-panic.h"
// The GOTRACEBACK environment variable controls the
// behavior of a Go program that is crashing and exiting.
@@ -221,15 +220,6 @@ runtime_tickspersecond(void)
return res;
}
-int64 runtime_pprof_runtime_cyclesPerSecond(void)
- __asm__ (GOSYM_PREFIX "runtime_pprof.runtime_cyclesPerSecond");
-
-int64
-runtime_pprof_runtime_cyclesPerSecond(void)
-{
- return runtime_tickspersecond();
-}
-
// Called to initialize a new m (including the bootstrap m).
// Called on the parent thread (main thread in case of bootstrap), can allocate memory.
void
@@ -341,19 +331,6 @@ runtime_timediv(int64 v, int32 div, int32 *rem)
uintptr runtime_maxstacksize = 1<<20; // enough until runtime.main sets it for real
-intgo runtime_debug_setMaxStack(intgo)
- __asm__ (GOSYM_PREFIX "runtime_debug.setMaxStack");
-
-intgo
-runtime_debug_setMaxStack(intgo in)
-{
- intgo out;
-
- out = runtime_maxstacksize;
- runtime_maxstacksize = in;
- return out;
-}
-
void memclrBytes(Slice)
__asm__ (GOSYM_PREFIX "runtime.memclrBytes");