Update to go1.24.0
This commit is contained in:
@@ -54,6 +54,16 @@ func combine4slice(p *[4][]byte, a, b, c, d []byte) {
|
||||
p[3] = d
|
||||
}
|
||||
|
||||
func trickyWriteNil(p *int, q **int) {
|
||||
if p == nil {
|
||||
// We change "= p" to "= 0" in the prove pass, which
|
||||
// means we have one less pointer that needs to go
|
||||
// into the write barrier buffer.
|
||||
// amd64:`.*runtime[.]gcWriteBarrier1`
|
||||
*q = p
|
||||
}
|
||||
}
|
||||
|
||||
type S struct {
|
||||
a, b string
|
||||
c *int
|
||||
|
||||
Reference in New Issue
Block a user