summaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 3b7db1e412..04c8440ebf 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -439,17 +439,6 @@ type cgomal struct {
alloc unsafe.Pointer
}
-// Holds variables parsed from GODEBUG env var.
-type debugvars struct {
- allocfreetrace int32
- efence int32
- gctrace int32
- gcdead int32
- scheddetail int32
- schedtrace int32
- scavenge int32
-}
-
// Indicates to write barrier and sychronization task to preform.
const (
_GCoff = iota // GC not running, write barrier disabled
@@ -501,8 +490,6 @@ func extendRandom(r []byte, n int) {
}
}
-var invalidptr int32
-
/*
* deferred subroutine calls
*/
@@ -569,7 +556,6 @@ var (
iscgo bool
cpuid_ecx uint32
cpuid_edx uint32
- debug debugvars
signote note
forcegc forcegcstate
sched schedt