aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/escape/expr.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile/internal/escape/expr.go')
-rw-r--r--src/cmd/compile/internal/escape/expr.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/escape/expr.go b/src/cmd/compile/internal/escape/expr.go
index 4a6304d47a..62afb5b928 100644
--- a/src/cmd/compile/internal/escape/expr.go
+++ b/src/cmd/compile/internal/escape/expr.go
@@ -262,6 +262,9 @@ func (e *escape) exprSkipInit(k hole, n ir.Node) {
// Arguments of OADDSTR never escape;
// runtime.concatstrings makes sure of that.
e.discards(n.List)
+
+ case ir.ODYNAMICTYPE:
+ // Nothing to do - argument is a *runtime._type (+ maybe a *runtime.itab) pointing to static data section
}
}