aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/reflectdata/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile/internal/reflectdata/helpers.go')
-rw-r--r--src/cmd/compile/internal/reflectdata/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/reflectdata/helpers.go b/src/cmd/compile/internal/reflectdata/helpers.go
index 99461cff52..f2d69cd256 100644
--- a/src/cmd/compile/internal/reflectdata/helpers.go
+++ b/src/cmd/compile/internal/reflectdata/helpers.go
@@ -21,7 +21,7 @@ func hasRType(n, rtype ir.Node, fieldName string) bool {
// gets confused by implicit conversions. Also, because
// package-scope statements can never be generic, so they'll never
// require dictionary lookups.
- if base.Debug.Unified != 0 && ir.CurFunc.Nname.Sym().Name != "init" {
+ if ir.CurFunc.Nname.Sym().Name != "init" {
ir.Dump("CurFunc", ir.CurFunc)
base.FatalfAt(n.Pos(), "missing %s in %v: %+v", fieldName, ir.CurFunc, n)
}