aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/signal_windows.go
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@canonical.com>2015-04-07 12:55:02 +1200
committerIan Lance Taylor <iant@golang.org>2015-04-10 05:11:49 +0000
commita1f57598cc00644dc1d32ce54a7b5a2be68bcfb1 (patch)
tree67b5751e3d03c329aa5243fedf33562fe07dd020 /src/runtime/signal_windows.go
parenta2a8a0468a40e1c0be861c4d47bda8388bc3402e (diff)
downloadgo-a1f57598cc00644dc1d32ce54a7b5a2be68bcfb1.tar.gz
go-a1f57598cc00644dc1d32ce54a7b5a2be68bcfb1.zip
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/signal_windows.go')
-rw-r--r--src/runtime/signal_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/signal_windows.go b/src/runtime/signal_windows.go
index bdeb5f182b..110d37c4df 100644
--- a/src/runtime/signal_windows.go
+++ b/src/runtime/signal_windows.go
@@ -12,7 +12,7 @@ func isgoexception(info *exceptionrecord, r *context) bool {
// Only handle exception if executing instructions in Go binary
// (not Windows library code).
// TODO(mwhudson): needs to loop to support shared libs
- if r.ip() < themoduledata.text || themoduledata.etext < r.ip() {
+ if r.ip() < firstmoduledata.text || firstmoduledata.etext < r.ip() {
return false
}