Commit fd9d2898 authored by Matthew Dempsky's avatar Matthew Dempsky

cmd/compile: eliminate unused Sig.offset field

Change-Id: If498d1fc6e8c0c4e8cf7ed38c4997adf05e003a6
Reviewed-on: https://go-review.googlesource.com/105043
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarDave Cheney <dave@cheney.net>
parent 3f483e65
......@@ -48,7 +48,6 @@ type Sig struct {
tsym *types.Sym
type_ *types.Type
mtype *types.Type
offset int32
}
// siglt sorts method signatures by name with exported methods first,
......@@ -473,7 +472,6 @@ func imethods(t *types.Type) []*Sig {
}
sig.mtype = f.Type
sig.offset = 0
sig.type_ = methodfunc(f.Type, nil)
if n := len(methods); n > 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment