mirror of
https://github.com/golang/go
synced 2024-11-26 06:38:00 -07:00
[dev.typeparams] cmd/internal/goobj: add duffzero/duffcopy to builtin list
duffzero and duffcopy are commonly referenced functions. Add them to builtin list, so they are referenced by index, not by name. Also change gcWriteBarrier to ABIInternal, which is changed in CL 266638. Regenerate the file. Change-Id: If8550d9ed300ac2be930a7c58657a9cf1933ac1d Reviewed-on: https://go-review.googlesource.com/c/go/+/324250 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
9c054f4137
commit
b5f37faf3b
@ -33,6 +33,7 @@ var builtins = [...]struct {
|
||||
{"runtime.goPanicSlice3BU", 1},
|
||||
{"runtime.goPanicSlice3C", 1},
|
||||
{"runtime.goPanicSlice3CU", 1},
|
||||
{"runtime.goPanicSliceConvert", 1},
|
||||
{"runtime.printbool", 1},
|
||||
{"runtime.printfloat", 1},
|
||||
{"runtime.printint", 1},
|
||||
@ -129,6 +130,8 @@ var builtins = [...]struct {
|
||||
{"runtime.makeslice64", 1},
|
||||
{"runtime.makeslicecopy", 1},
|
||||
{"runtime.growslice", 1},
|
||||
{"runtime.unsafeslice", 1},
|
||||
{"runtime.unsafeslice64", 1},
|
||||
{"runtime.memmove", 1},
|
||||
{"runtime.memclrNoHeapPointers", 1},
|
||||
{"runtime.memclrHasPointers", 1},
|
||||
@ -203,7 +206,9 @@ var builtins = [...]struct {
|
||||
{"runtime.newproc", 1},
|
||||
{"runtime.panicoverflow", 1},
|
||||
{"runtime.sigpanic", 1},
|
||||
{"runtime.gcWriteBarrier", 0},
|
||||
{"runtime.gcWriteBarrier", 1},
|
||||
{"runtime.duffzero", 1},
|
||||
{"runtime.duffcopy", 1},
|
||||
{"runtime.morestack", 0},
|
||||
{"runtime.morestackc", 0},
|
||||
{"runtime.morestack_noctxt", 0},
|
||||
|
@ -151,7 +151,9 @@ var fextras = [...]extra{
|
||||
{"sigpanic", 1},
|
||||
|
||||
// compiler backend inserted calls
|
||||
{"gcWriteBarrier", 0}, // asm function, ABI0
|
||||
{"gcWriteBarrier", 1},
|
||||
{"duffzero", 1},
|
||||
{"duffcopy", 1},
|
||||
|
||||
// assembler backend inserted calls
|
||||
{"morestack", 0}, // asm function, ABI0
|
||||
|
Loading…
Reference in New Issue
Block a user