mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove most uses of duintxx
The only remaining uses of duintxx are in the implementation of duintNN. I hope to inline those once I figure out why CL 40864 is broken. Note that some uses of duintxx with width Widthint were converted into duintptr. I did that, since #19954 is officially going to move forward. Passes toolstash-check. Change-Id: Id25253b711ea589d0199b51be9a3c18ca1af59ce Reviewed-on: https://go-review.googlesource.com/41398 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
a544df33fd
commit
bea8ffdbb1
2 changed files with 11 additions and 11 deletions
|
|
@ -332,8 +332,8 @@ func slicebytes(nam *Node, s string, len int) {
|
|||
}
|
||||
off = int(nam.Xoffset)
|
||||
off = dsymptr(nam.Sym.Linksym(), off, sym.Linksym(), 0)
|
||||
off = duintxx(nam.Sym.Linksym(), off, uint64(len), Widthint)
|
||||
duintxx(nam.Sym.Linksym(), off, uint64(len), Widthint)
|
||||
off = duintptr(nam.Sym.Linksym(), off, uint64(len))
|
||||
duintptr(nam.Sym.Linksym(), off, uint64(len))
|
||||
}
|
||||
|
||||
func dsname(s *obj.LSym, off int, t string) int {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue