From e45956896aee9ff97c246bd16a0ce00ff3e04fd2 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 8 Jan 2021 03:00:37 -0700 Subject: [PATCH] common-trampoline: use register keyword to force register allocation --- arch/common/common-trampoline.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/common/common-trampoline.c b/arch/common/common-trampoline.c index dc5f2d3..ada49f4 100644 --- a/arch/common/common-trampoline.c +++ b/arch/common/common-trampoline.c @@ -17,9 +17,8 @@ void libucontext_trampoline(void) { - libucontext_ucontext_t *uc_link; + register libucontext_ucontext_t *uc_link; - // FIXME: there's no guarantee that input is not clobbered! FETCH_LINKPTR(uc_link); if (uc_link == NULL)