summaryrefslogtreecommitdiff
path: root/libgo/runtime/proc.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-23 20:33:53 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-23 20:33:53 +0000
commit5616197a18d371281fdc018d580ec4081e350a07 (patch)
tree263b8df1c4218950fd5dd44d3001d3bb74b4e87a /libgo/runtime/proc.c
parent39afb5a9251062ab9a3e7c3431239b6ae93f55b8 (diff)
downloadgcc-5616197a18d371281fdc018d580ec4081e350a07.tar.gz
runtime: Remove undefined references to runtime_race*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/proc.c')
-rw-r--r--libgo/runtime/proc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 03d1c1a271c..6270142ea9f 100644
--- a/libgo/runtime/proc.c
+++ b/libgo/runtime/proc.c
@@ -18,7 +18,6 @@
#include "arch.h"
#include "defs.h"
#include "malloc.h"
-#include "race.h"
#include "go-type.h"
#include "go-defer.h"
@@ -462,9 +461,6 @@ runtime_schedinit(void)
// Can not enable GC until all roots are registered.
// mstats.enablegc = 1;
-
- // if(raceenabled)
- // g->racectx = runtime_raceinit();
}
extern void main_init(void) __asm__ (GOSYM_PREFIX "__go_init_main");
@@ -528,8 +524,6 @@ runtime_main(void* dummy __attribute__((unused)))
mstats.enablegc = 1;
main_main();
- if(raceenabled)
- runtime_racefini();
// Make racy client program work: if panicking on
// another goroutine at the same time as main returns,
@@ -1848,8 +1842,6 @@ runtime_goexit(void)
{
if(g->status != Grunning)
runtime_throw("bad g status");
- if(raceenabled)
- runtime_racegoend();
runtime_mcall(goexit0);
}