diff options
| author | Austin Clements <austin@google.com> | 2021-04-13 08:20:08 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2021-04-13 21:13:09 +0000 |
| commit | e512bc2cf0ce18342571fdbcdcd43d2bb13ef55b (patch) | |
| tree | 9db43073780652c33cab4870491bfeda93f53787 /src/runtime/sys_windows_amd64.s | |
| parent | 069983e5db99fa6b94401f971e9c19440615d233 (diff) | |
| download | go-e512bc2cf0ce18342571fdbcdcd43d2bb13ef55b.tar.xz | |
runtime: use compileCallback for ctrlhandler
This replaces the externalthreadhandler-based implementation of
ctrlhandler with one based on compileCallback. This is a step toward
eliminating externalthreadhandler.
For #45530.
Change-Id: I2de2f2f37777af292db67ccf8057b7566aab81f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/309632
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/sys_windows_amd64.s')
| -rw-r--r-- | src/runtime/sys_windows_amd64.s | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s index 1fd8bf5c5c..e9428c36db 100644 --- a/src/runtime/sys_windows_amd64.s +++ b/src/runtime/sys_windows_amd64.s @@ -202,13 +202,6 @@ TEXT runtime·lastcontinuetramp<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-0 MOVQ $runtime·lastcontinuehandler(SB), AX JMP sigtramp<>(SB) -TEXT runtime·ctrlhandler<ABIInternal>(SB),NOSPLIT|NOFRAME,$8 - MOVQ CX, 16(SP) // spill - MOVQ $runtime·ctrlhandler1(SB), CX - MOVQ CX, 0(SP) - CALL runtime·externalthreadhandler<ABIInternal>(SB) - RET - TEXT runtime·profileloop<ABIInternal>(SB),NOSPLIT|NOFRAME,$8 MOVQ $runtime·profileloop1(SB), CX MOVQ CX, 0(SP) |
