mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove more dead code
Change-Id: Ib05a8e149db8accdb1474703cd7b7004243d91d4 Reviewed-on: https://go-review.googlesource.com/29214 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
parent
f03855f40e
commit
838eaa738f
5 changed files with 0 additions and 99 deletions
|
|
@ -349,15 +349,6 @@ func slicebytes(nam *Node, s string, len int) {
|
|||
duintxx(nam.Sym, off, uint64(len), Widthint)
|
||||
}
|
||||
|
||||
func Datastring(s string, a *obj.Addr) {
|
||||
_, symdata := stringsym(s)
|
||||
a.Type = obj.TYPE_MEM
|
||||
a.Name = obj.NAME_EXTERN
|
||||
a.Sym = symdata
|
||||
a.Offset = 0
|
||||
a.Etype = uint8(Simtype[TINT])
|
||||
}
|
||||
|
||||
func datagostring(sval string, a *obj.Addr) {
|
||||
symhdr, _ := stringsym(sval)
|
||||
a.Type = obj.TYPE_MEM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue