From 16ade99d9d57a84a754bfa8e9a52f5911d9cf5e4 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Mon, 12 Mar 2012 22:42:55 -0400 Subject: [PATCH] runtime: fix windows/amd64 exception handler R=golang-dev, rsc CC=golang-dev, hectorchu https://golang.org/cl/5797077 --- src/pkg/runtime/sys_windows_amd64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/sys_windows_amd64.s b/src/pkg/runtime/sys_windows_amd64.s index c8402d70e63..041383ee89b 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)