From e69f02265c74529a368a2ff27fdce4aeb3483e8b Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Tue, 13 Apr 2021 08:32:21 -0400 Subject: runtime: use newm for profileloop This replaces the externalthreadhandler-based implementation of profileloop with one that uses newm to start a new thread. This is a step toward eliminating externalthreadhandler. For #45530. Change-Id: Id8e5540423fe2d2004024b649afec6998f77b092 Reviewed-on: https://go-review.googlesource.com/c/go/+/309633 Trust: Austin Clements Run-TryBot: Austin Clements TryBot-Result: Go Bot Reviewed-by: Michael Pratt Reviewed-by: Michael Knyszek --- src/runtime/sys_windows_arm.s | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/runtime/sys_windows_arm.s') diff --git a/src/runtime/sys_windows_arm.s b/src/runtime/sys_windows_arm.s index 304bba22e0..8914a2688f 100644 --- a/src/runtime/sys_windows_arm.s +++ b/src/runtime/sys_windows_arm.s @@ -233,10 +233,6 @@ TEXT runtime·lastcontinuetramp(SB),NOSPLIT|NOFRAME,$0 MOVW $runtime·lastcontinuehandler(SB), R1 B sigtramp<>(SB) -TEXT runtime·profileloop(SB),NOSPLIT|NOFRAME,$0 - MOVW $runtime·profileloop1(SB), R1 - B runtime·externalthreadhandler(SB) - // int32 externalthreadhandler(uint32 arg, int (*func)(uint32)) // stack layout: // +----------------+ -- cgit v1.3-5-g9baa