From: Alex Brainman Date: Tue, 13 Mar 2012 02:42:55 +0000 (-0400) Subject: runtime: fix windows/amd64 exception handler X-Git-Tag: weekly.2012-03-13~13 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=16ade99d9d57a84a754bfa8e9a52f5911d9cf5e4;p=gostls13.git runtime: fix windows/amd64 exception handler R=golang-dev, rsc CC=golang-dev, hectorchu https://golang.org/cl/5797077 --- 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)