summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2012-03-12 22:42:55 -0400
committerRuss Cox <rsc@golang.org>2012-03-12 22:42:55 -0400
commit16ade99d9d57a84a754bfa8e9a52f5911d9cf5e4 (patch)
treee34cddad38a448a8fc2ac3a1f349309ccea4e6e6
parent4809ad655b53910908680c4895b11a5f1f828670 (diff)
downloadgo-git-16ade99d9d57a84a754bfa8e9a52f5911d9cf5e4.tar.gz
runtime: fix windows/amd64 exception handler
R=golang-dev, rsc CC=golang-dev, hectorchu https://golang.org/cl/5797077
-rw-r--r--src/pkg/runtime/sys_windows_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/sys_windows_amd64.s b/src/pkg/runtime/sys_windows_amd64.s
index c8402d70e6..041383ee89 100644
--- a/src/pkg/runtime/sys_windows_amd64.s
+++ b/src/pkg/runtime/sys_windows_amd64.s
@@ -137,7 +137,7 @@ TEXT runtime·sigtramp(SB),7,$0
get_tls(CX)
// check that m exists
- MOVQ m(BX), AX
+ MOVQ m(CX), AX
CMPQ AX, $0
JNE 2(PC)
CALL runtime·badsignal(SB)