From 087cb81385bdee071aba9820f795502e7abbac20 Mon Sep 17 00:00:00 2001 From: Stas Boukarev Date: Wed, 2 Sep 2026 13:52:20 +0300 Subject: [PATCH] arm64/return: avoid overwriting tmp-tn by load-store-offset Load store offsets are good for 4096 values, but it's better to ensure an error is signaled. --- src/compiler/arm64/call.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/arm64/call.lisp b/src/compiler/arm64/call.lisp index e3843e1de..8001b1792 100644 --- a/src/compiler/arm64/call.lisp +++ b/src/compiler/arm64/call.lisp @@ -1401,8 +1401,7 @@ ((null tn-ref)) (let ((tn (tn-ref-tn tn-ref)) (ea (@ thread-tn - (load-store-offset - (ash (+ thread-mv-return-values-slot slot) word-shift))))) + (ash (+ thread-mv-return-values-slot slot) word-shift)))) (sc-case tn ((descriptor-reg any-reg) (inst str tn ea))