diff options
| author | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-04-07 12:55:02 +1200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2015-04-10 05:11:49 +0000 |
| commit | a1f57598cc00644dc1d32ce54a7b5a2be68bcfb1 (patch) | |
| tree | 67b5751e3d03c329aa5243fedf33562fe07dd020 /src/runtime/mbitmap.go | |
| parent | a2a8a0468a40e1c0be861c4d47bda8388bc3402e (diff) | |
| download | go-a1f57598cc00644dc1d32ce54a7b5a2be68bcfb1.tar.xz | |
runtime, cmd/internal/ld: rename themoduledata to firstmoduledata
'themoduledata' doesn't really make sense now we support multiple moduledata
objects.
Change-Id: I8263045d8f62a42cb523502b37289b0fba054f62
Reviewed-on: https://go-review.googlesource.com/8521
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/mbitmap.go')
| -rw-r--r-- | src/runtime/mbitmap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index 80828692d6..5dad2a0782 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -747,7 +747,7 @@ func getgcmask(p unsafe.Pointer, t *_type, mask **byte, len *uintptr) { const typeBitsPerByte = 8 / typeBitsWidth // data - for datap := &themoduledata; datap != nil; datap = datap.next { + for datap := &firstmoduledata; datap != nil; datap = datap.next { if datap.data <= uintptr(p) && uintptr(p) < datap.edata { n := (*ptrtype)(unsafe.Pointer(t)).elem.size *len = n / ptrSize |
