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_386.s | |
parent | 069983e5db99fa6b94401f971e9c19440615d233 (diff) | |
download | go-e512bc2cf0ce18342571fdbcdcd43d2bb13ef55b.tar.gz go-e512bc2cf0ce18342571fdbcdcd43d2bb13ef55b.zip |
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_386.s')
-rw-r--r-- | src/runtime/sys_windows_386.s | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/sys_windows_386.s b/src/runtime/sys_windows_386.s index be4268a9c0..b1c27c40d9 100644 --- a/src/runtime/sys_windows_386.s +++ b/src/runtime/sys_windows_386.s @@ -156,15 +156,6 @@ TEXT runtime·lastcontinuetramp<ABIInternal>(SB),NOSPLIT,$0-0 MOVL $runtime·lastcontinuehandler(SB), AX JMP sigtramp<>(SB) -// Called by OS using stdcall ABI: bool ctrlhandler(uint32). -TEXT runtime·ctrlhandler<ABIInternal>(SB),NOSPLIT,$0 - PUSHL $runtime·ctrlhandler1(SB) - NOP SP // tell vet SP changed - stop checking offsets - CALL runtime·externalthreadhandler<ABIInternal>(SB) - MOVL 4(SP), CX - ADDL $12, SP - JMP CX - // Called by OS using stdcall ABI: uint32 profileloop(void*). TEXT runtime·profileloop<ABIInternal>(SB),NOSPLIT,$0 PUSHL $runtime·profileloop1(SB) |