Update to go1.25.0
This commit is contained in:
@@ -12,6 +12,7 @@ package codegen
|
||||
type T struct {
|
||||
a *[10]int
|
||||
b [10]int
|
||||
s []int
|
||||
}
|
||||
|
||||
func (t *T) f() {
|
||||
@@ -38,4 +39,15 @@ func (t *T) f() {
|
||||
for i := range *t.a {
|
||||
(*t.a)[i] = 0
|
||||
}
|
||||
|
||||
// amd64:-".*runtime.memclrNoHeapPointers"
|
||||
// amd64:"DUFFZERO"
|
||||
for i := range t.b {
|
||||
t.b[i] = 0
|
||||
}
|
||||
|
||||
// amd64:".*runtime.memclrNoHeapPointers"
|
||||
for i := range t.s {
|
||||
t.s[i] = 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user