aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 5b1c4906af..2584eb4cac 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -760,10 +760,6 @@ const (
// cpuinit sets up CPU feature flags and calls internal/cpu.Initialize. env should be the complete
// value of the GODEBUG environment variable.
func cpuinit(env string) {
- switch GOOS {
- case "aix", "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd", "illumos", "solaris", "linux":
- cpu.DebugOptions = true
- }
cpu.Initialize(env)
// Support cpu feature variables are used in code generated by the compiler