cmd/compile: remove go115makeslicecopy

Change-Id: I6fd65fe7c1046c3ba7d7ed0e67282f879c13e9e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/264340
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
Cherry Zhang 2020-10-21 21:06:44 -04:00
parent b4a06b2089
commit 5d9b66cdc6
1 changed files with 0 additions and 5 deletions

View File

@ -323,11 +323,6 @@ func (o *Order) stmtList(l Nodes) {
// and rewrites it to:
// m = OMAKESLICECOPY([]T, x, s); nil
func orderMakeSliceCopy(s []*Node) {
const go115makeslicecopy = true
if !go115makeslicecopy {
return
}
if Debug.N != 0 || instrumenting {
return
}