Commit 41c0b9eb authored by Matthew Dempsky's avatar Matthew Dempsky

cmd/compile: remove compiling_wrappers

It's no longer needed after removing safemode.

Change-Id: I7581d77a86342e3b6d7c632839f5eb7a5c20902e
Reviewed-on: https://go-review.googlesource.com/c/143397
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 34585ba5
...@@ -208,8 +208,6 @@ var compiling_runtime bool ...@@ -208,8 +208,6 @@ var compiling_runtime bool
// Compiling the standard library // Compiling the standard library
var compiling_std bool var compiling_std bool
var compiling_wrappers bool
var use_writebarrier bool var use_writebarrier bool
var pure_go bool var pure_go bool
......
...@@ -406,18 +406,14 @@ func methods(t *types.Type) []*Sig { ...@@ -406,18 +406,14 @@ func methods(t *types.Type) []*Sig {
if !sig.isym.Siggen() { if !sig.isym.Siggen() {
sig.isym.SetSiggen(true) sig.isym.SetSiggen(true)
if !types.Identical(this, it) { if !types.Identical(this, it) {
compiling_wrappers = true
genwrapper(it, f, sig.isym) genwrapper(it, f, sig.isym)
compiling_wrappers = false
} }
} }
if !sig.tsym.Siggen() { if !sig.tsym.Siggen() {
sig.tsym.SetSiggen(true) sig.tsym.SetSiggen(true)
if !types.Identical(this, t) { if !types.Identical(this, t) {
compiling_wrappers = true
genwrapper(t, f, sig.tsym) genwrapper(t, f, sig.tsym)
compiling_wrappers = false
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment